Part Number Hot Search : 
K4S1616 MAX3000E 16LT1 MBR760 M39014 BFY180H NTE342 MOB73DR
Product Description
Full Text Search
 

To Download ADE7816 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  s i x c u r r e n t c h a n n e l s , o n e v o l t a g e c h a n n e l e n e r g y m e t e r i n g i c d a t a s h e e t a d e 7 8 1 6 r e v . a d o c u m e n t f e e d b a c k i n f o r m a t i o n f u r n i s h e d b y a n a l o g d e v i c e s i s b e l i e v e d t o b e a c c u r a t e a n d r e l i a b l e . h o w e v e r , n o r e s p o n s i b i l i t y i s a s s u m e d b y a n a l o g d e v i c e s f o r i t s u s e , n o r f o r a n y i n f r i n g e m e n t s o f p a t e n t s o r o t h e r r i g h t s o f t h i r d p a r t i e s t h a t m a y r e s u l t f r o m i t s u s e . s p e c i f i c a t i o n s s u b j e c t t o c h a n g e w i t h o u t n o t i c e . n o l i c e n s e i s g r a n t e d b y i m p l i c a t i o n o r o t h e r w i s e u n d e r a n y p a t e n t o r p a t e n t r i g h t s o f a n a l o g d e v i c e s . t r a d e m a r k s a n d r e g i s t e r e d t r a d e m a r k s a r e t h e p r o p e r t y o f t h e i r r e s p e c t i v e o w n e r s . o n e t e c h n o l o g y w a y , p . o . b o x 9 1 0 6 , n o r w o o d , m a 0 2 0 6 2 - 9 1 0 6 , u . s . a . t e l : 7 8 1 . 3 2 9 . 4 7 0 0 ? 2 0 1 2 ? 2 0 1 3 a n a l o g d e v i c e s , i n c . a l l r i g h t s r e s e r v e d . t e c h n i c a l s u p p o r t w w w . a n a l o g . c o m f e a t u r e s m e a s u r e s a c t i v e a n d r e a c t i v e e n e r g y , s a m p l e d w a v e f o r m s , a n d c u r r e n t a n d v o l t a g e r m s 6 c u r r e n t i n p u t c h a n n e l s a n d 1 v o l t a g e c h a n n e l < 0 . 1 % e r r o r i n a c t i v e a n d r e a c t i v e e n e r g y o v e r a d y n a m i c r a n g e o f 1 0 0 0 : 1 s u p p o r t s c u r r e n t t r a n s f o r m e r a n d r o g o w s k i c o i l s e n s o r s p r o v i d e s i n s t a n t a n e o u s c u r r e n t a n d v o l t a g e r e a d i n g s a n g l e m e a s u r e m e n t s o n a l l 6 c h a n n e l s 2 k h z b a n d w i d t h o p e r a t i o n r e f e r e n c e : 1 . 2 v ( d r i f t 1 0 p p m / c t y p i c a l ) w i t h e x t e r n a l o v e r d r i v e c a p a b i l i t y f l e x i b l e i 2 c , s p i , a n d h s d c s e r i a l i n t e r f a c e s g e n e r a l d e s c r i p t i o n t h e a d e 7 8 1 6 i s a h i g h l y a c c u r a t e , m u l t i c h a n n e l m e t e r i n g d e v i c e t h a t i s c a p a b l e o f m e a s u r i n g o n e v o l t a g e c h a n n e l a n d u p t o s i x c u r r e n t c h a n n e l s . i t m e a s u r e s l i n e v o l t a g e a n d c u r r e n t a n d c a l c u l a t e s a c t i v e a n d r e a c t i v e e n e r g y , a s w e l l a s i n s t a n t a n e o u s r m s v o l t a g e a n d c u r r e n t . t h e d e v i c e i n c o r p o r a t e s s e v e n s i g m a - d e l t a (  -  ) a d c s w i t h a h i g h a c c u r a c y e n e r g y m e a s u r e m e n t c o r e . t h e s i x c u r r e n t i n p u t c h a n n e l s a l l o w m u l t i p l e l o a d s t o b e m e a s u r e d s i m u l t a n e o u s l y . t h e v o l t a g e c h a n n e l a n d t h e s i x c u r r e n t c h a n n e l s e a c h h a v e a c o m p l e t e s i g n a l p a t h a l l o w i n g f o r a f u l l r a n g e o f m e a s u r e m e n t s . e a c h i n p u t c h a n n e l s u p p o r t s a f l e x i b l e g a i n s t a g e a n d i s s u i t a b l e f o r u s e w i t h c u r r e n t t r a n s f o r m e r s ( c t s ) . s i x o n - c h i p d i g i t a l i n t e g r a t o r s f a c i l i t a t e t h e u s e o f t h e r o g o w s k i c o i l s e n s o r s . t h e a d e 7 8 1 6 p r o v i d e s a c c e s s t o o n - c h i p m e t e r r e g i s t e r s v i a e i t h e r t h e s p i o r i 2 c i n t e r f a c e . a d e d i c a t e d h i g h s p e e d i n t e r f a c e , t h e h i g h s p e e d d a t a c a p t u r e ( h s d c ) p o r t , c a n b e u s e d i n c o n j u n c t i o n w i t h i 2 c t o p r o v i d e a c c e s s t o r e a l - t i m e a d c o u t p u t i n f o r m a t i o n . a f u l l r a n g e o f p o w e r q u a l i t y i n f o r m a t i o n , s u c h a s o v e r c u r r e n t , o v e r v o l t a g e , p e a k , a n d s a g d e t e c t i o n , i s a c c e s s i b l e v i a t h e t w o e x t e r n a l i n t e r r u p t p i n s , i r q 0 a n d i r q 1 . t h e a d e 7 8 1 6 e n e r g y m e t e r i n g i c o p e r a t e s f r o m a 3 . 3 v s u p p l y v o l t a g e a n d i s a v a i l a b l e i n a 4 0 - l e a d l f c s p t h a t i s p b f r e e a n d r o h s c o m p l i a n t . f u n c t i o n a l b l o c k d i a g r a m i a g a i n p c f _ a _ c o e f f h p f v g a i n h p f l p f a w g a i n a w a t t o s a v a r g a i n a v a r o s x 2 v r m s l p f v r m s o s x 2 i a r m s l p f i a r m s o s 1 7 3 9 3 7 3 8 3 6 3 2 2 9 3 2 2 7 2 8 r e f i n / o u t 6 d g n d c l k i n c l k o u t p g a 2 1 5 1 6 v p v n p g a 1 7 8 i a p i a n p u l l _ h i g h p u l l _ l o w i r q 0 i r q 1 s c l k / s c l m o s i / s d a m i s o / h s d s s / h s a 3 5 h s c l k 1 n c 1 0 n c 1 1 n c 2 0 n c 2 1 n c 3 0 n c 4 r e s e t h s d c i 2 c s p i / i 2 c a d e 7 8 1 6 a d c a d c c o m p u t a t i o n a l b l o c k f o r t o t a l r e a c t i v e p o w e r e n e r g y a n d r m s d a t a a l l c h a n n e l s d i g i t a l i n t e g r a t o r 1 . 2 v r e f 9 i b p p g a 1 1 2 i b n a d c e n e r g y a n d r m s c a l c u l a t i o n s s e e c h a n n e l a f o r d e t a i l e d s i g n a l p a t h e n e r g y a n d r m s c a l c u l a t i o n s s e e c h a n n e l a f o r d e t a i l e d s i g n a l p a t h e n e r g y a n d r m s c a l c u l a t i o n s s e e c h a n n e l a f o r d e t a i l e d s i g n a l p a t h e n e r g y a n d r m s c a l c u l a t i o n s s e e c h a n n e l a f o r d e t a i l e d s i g n a l p a t h e n e r g y a n d r m s c a l c u l a t i o n s s e e c h a n n e l a f o r d e t a i l e d s i g n a l p a t h 1 3 i c p p g a 1 1 4 i c n a d c 2 3 i d p p g a 3 a d c 2 2 i e p p g a 3 a d c 1 9 i f p p g a 3 1 8 i n a d c p o r l d o l d o 5 2 4 2 6 2 5 v d d a g n d a v d d d v d d 4 0 n c 3 4 n c 3 3 n c 3 1 n c 1 0 3 9 0 - 0 0 1 f i g u r e 1 .
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 2 o f 4 8 t a b l e o f c o n t e n t s f e a t u r e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 g e n e r a l d e s c r i p t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 f u n c t i o n a l b l o c k d i a g r a m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 r e v i s i o n h i s t o r y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 s p e c i f i c a t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 t i m i n g c h a r a c t e r i s t i c s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 a b s o l u t e m a x i m u m r a t i n g s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 t h e r m a l r e s i s t a n c e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 e s d c a u t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 p i n c o n f i g u r a t i o n a n d f u n c t i o n d e s c r i p t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 t y p i c a l p e r f o r m a n c e c h a r a c t e r i s t i c s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 t e s t c i r c u i t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 4 t e r m i n o l o g y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 5 q u i c k s t a r t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6 i n p u t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 7 p o w e r a n d g r o u n d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 7 r e f e r e n c e c i r c u i t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 7 r e s e t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 7 c l k i n a n d c l k o u t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 8 a n a l o g i n p u t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 8 e n e r g y m e a s u r e m e n t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 0 s t a r t i n g a n d s t o p p i n g t h e d s p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 0 a c t i v e e n e r g y m e a s u r e m e n t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 0 r e a c t i v e e n e r g y m e a s u r e m e n t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1 l i n e c y c l e a c c u m u l a t i o n m o d e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 r o o t m e a n s q u a r e m e a s u r e m e n t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3 n o l o a d d e t e c t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3 e n e r g y c a l i b r a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 4 c h a n n e l m a t c h i n g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 4 e n e r g y g a i n c a l i b r a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 4 e n e r g y o f f s e t c a l i b r a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 4 e n e r g y p h a s e c a l i b r a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 5 r m s o f f s e t c a l i b r a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 5 p o w e r q u a l i t y f e a t u r e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 6 s e l e c t i n g a c u r r e n t c h a n n e l g r o u p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 6 i n s t a n t a n e o u s w a v e f o r m s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 6 z e r o - c r o s s i n g d e t e c t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 6 p e a k d e t e c t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 7 o v e r c u r r e n t a n d o v e r v o l t a g e d e t e c t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 7 i n d i c a t i o n o f p o w e r d i r e c t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 8 a n g l e m e a s u r e m e n t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 8 p e r i o d m e a s u r e m e n t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 9 v o l t a g e s a g d e t e c t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 9 s e t t i n g t h e s a g c y c r e g i s t e r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 9 s e t t i n g t h e s a g l v l r e g i s t e r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 9 v o l t a g e s a g i n t e r r u p t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 9 c h e c k s u m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 0 o u t p u t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1 i n t e r r u p t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1 c o m m u n i c a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1 r e g i s t e r s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 6 r e g i s t e r p r o t e c t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 6 r e g i s t e r f o r m a t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 6 r e g i s t e r m a p s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 7 o u t l i n e d i m e n s i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 5 o r d e r i n g g u i d e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 5 r e v i s i o n h i s t o r y 1 2 / 1 3 ? r e v . 0 t o r e v . a c h a n g e s t o e p a d n o t a t i o n a n d c h a n g e d p i n 3 3 a n d p i n 3 4 d e s c r i p t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 c h a n g e s t o e n e r g y p h a s e c a l i b r a t i o n s e c t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 5 c h a n g e s t o z e r o - c r o s s i n g d e t e c t i o n s e c t i o n a n d f i g u r e 3 3 . . . 2 6 c h a n g e s t o i n d i c a t i o n o f p o w e r d i r e c t i o n s e c t i o n . . . . . . . . . . . . . . . . . . . . 2 8 c h a n g e s t o t a b l e 1 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 8 c h a n g e s t o b i t s [ 7 : 6 ] d e s c r i p t i o n ; t a b l e 2 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3 2 / 1 2 ? r e v i s i o n 0 : i n i t i a l v e r s i o n
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 3 o f 4 8 s p e c i f i c a t i o n s v d d = 3 . 3 v 1 0 % , a g n d = d g n d = 0 v , o n - c h i p r e f e r e n c e , c l k i n = 1 6 . 3 8 4 m h z , t m i n t o t m a x =  4 0 c t o + 8 5 c . t a b l e 1 . p a r a m e t e r 1 , 2 m i n t y p m a x u n i t t e s t c o n d i t i o n s / c o m m e n t s a c c u r a c y a c t i v e e n e r g y m e a s u r e m e n t a c t i v e e n e r g y m e a s u r e m e n t e r r o r ( p e r c h a n n e l ) 0 . 1 % o v e r a d y n a m i c r a n g e o f 1 0 0 0 t o 1 , p g a = 1 , 2 , 4 ; i n t e g r a t o r o f f 0 . 2 % o v e r a d y n a m i c r a n g e o f 3 0 0 0 t o 1 , p g a = 1 , 2 , 4 ; i n t e g r a t o r o f f 0 . 1 % o v e r a d y n a m i c r a n g e o f 5 0 0 t o 1 , p g a = 8 , 1 6 ; i n t e g r a t o r o n p h a s e e r r o r b e t w e e n c h a n n e l s l i n e f r e q u e n c y = 4 5 h z t o 6 5 h z , h p f o n p o w e r f a c t o r ( p f ) = 0 . 8 c a p a c i t i v e 0 . 0 5 d e g r e e s p h a s e l e a d = 3 7 p f = 0 . 5 i n d u c t i v e 0 . 0 5 d e g r e e s p h a s e l a g = 6 0 a c p o w e r s u p p l y r e j e c t i o n v d d = 3 . 3 v + 1 2 0 m v r m s / 1 2 0 h z , i x p = v p = 1 0 0 m v r m s e n e r g y r e g i s t e r v a r i a t i o n 0 . 0 1 % d c p o w e r s u p p l y r e j e c t i o n v d d = 3 . 3 v 3 3 0 m v d c e n e r g y r e g i s t e r v a r i a t i o n 0 . 0 1 % t o t a l a c t i v e e n e r g y m e a s u r e m e n t b a n d w i d t h 2 k h z r e a c t i v e e n e r g y m e a s u r e m e n t r e a c t i v e e n e r g y m e a s u r e m e n t e r r o r ( p e r c h a n n e l ) 0 . 1 % o v e r a d y n a m i c r a n g e o f 1 0 0 0 t o 1 , p g a = 1 , 2 , 4 ; i n t e g r a t o r o f f 0 . 2 % o v e r a d y n a m i c r a n g e o f 3 0 0 0 t o 1 , p g a = 1 , 2 , 4 ; i n t e g r a t o r o f f 0 . 1 % o v e r a d y n a m i c r a n g e o f 5 0 0 t o 1 , p g a = 8 , 1 6 ; i n t e g r a t o r o n p h a s e e r r o r b e t w e e n c h a n n e l s l i n e f r e q u e n c y = 4 5 h z t o 6 5 h z , h p f o n p f = 0 . 8 c a p a c i t i v e 0 . 0 5 d e g r e e s p h a s e l e a d = 3 7 p f = 0 . 5 i n d u c t i v e 0 . 0 5 d e g r e e s p h a s e l a g = 6 0 a c p o w e r s u p p l y r e j e c t i o n v d d = 3 . 3 v + 1 2 0 m v r m s / 1 2 0 h z , i x p = v p = 1 0 0 m v r m s e n e r g y r e g i s t e r v a r i a t i o n 0 . 0 1 % d c p o w e r s u p p l y r e j e c t i o n v d d = 3 . 3 v 3 3 0 m v d c e n e r g y r e g i s t e r v a r i a t i o n 0 . 0 1 % t o t a l r e a c t i v e e n e r g y m e a s u r e m e n t b a n d w i d t h 2 k h z r m s m e a s u r e m e n t s i r m s a n d v r m s m e a s u r e m e n t b a n d w i d t h 2 k h z i r m s a n d v r m s m e a s u r e m e n t e r r o r 0 . 1 % o v e r a d y n a m i c r a n g e o f 5 0 0 t o 1 ; o n e s e c o n d o f a v e r a g i n g ( 1 0 0 s a m p l e s ) a n a l o g i n p u t s m a x i m u m s i g n a l l e v e l s 5 0 0 m v p e a k s i n g l e - e n d e d i n p u t s b e t w e e n t h e f o l l o w i n g p i n s : i a p a n d i a n , i b p a n d i b n , i c p a n d i c n , i d p a n d i n , i e p a n d i n , i f p a n d i n . i n p u t i m p e d a n c e ( d c ) i a p , i a n , i b p , i b n , i c p , i c n , i d p , i e p , a n d i f p p i n s 4 0 0 k  i n p i n 1 3 0 k  a d c o f f s e t e r r o r 2 m v p g a = 1 , u n c a l i b r a t e d e r r o r , s e e t h e t e r m i n o l o g y s e c t i o n g a i n e r r o r 4 % e x t e r n a l 1 . 2 v r e f e r e n c e
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 4 o f 4 8 p a r a m e t e r 1 , 2 m i n t y p m a x u n i t t e s t c o n d i t i o n s / c o m m e n t s w a v e f o r m s a m p l i n g s a m p l i n g c l k i n / 2 0 4 8 , 1 6 . 3 8 4 m h z / 2 0 4 8 = 8 k s p s c u r r e n t a n d v o l t a g e c h a n n e l s s e e t h e i n s t a n t a n e o u s w a v e f o r m s s e c t i o n s i g n a l - t o - n o i s e r a t i o , s n r 7 0 d b p g a = 1 s i g n a l - t o - n o i s e - a n d - d i s t o r t i o n r a t i o , s i n a d 6 0 d b p g a = 1 b a n d w i d t h (  3 d b ) 2 k h z t i m e i n t e r v a l b e t w e e n c h a n n e l s m e a s u r e m e n t e r r o r 0 . 3 d e g r e e s l i n e f r e q u e n c y = 4 5 h z t o 6 5 h z , h p f o n r e f e r e n c e i n p u t r e f i n / o u t i n p u t v o l t a g e r a n g e 1 . 1 1 . 3 v m i n i m u m = 1 . 2 v  8 % ; m a x i m u m = 1 . 2 v + 8 % i n p u t c a p a c i t a n c e 1 0 p f o n - c h i p r e f e r e n c e n o m i n a l 1 . 2 0 7 v a t t h e r e f i n / o u t p i n a t t a = 2 5 c r e f e r e n c e e r r o r 2 m v o u t p u t i m p e d a n c e 1 . 2 k  t e m p e r a t u r e c o e f f i c i e n t 1 0 5 0 p p m / c m a x i m u m v a l u e a c r o s s f u l l t e m p e r a t u r e r a n g e o f  4 0 c t o + 8 5 c c l k i n , c l k o u t a l l s p e c i f i c a t i o n s a r e f o r c l k i n , c l k o u t o f 1 6 . 3 8 4 m h z i n p u t c l o c k f r e q u e n c y 1 6 . 2 2 1 6 . 3 8 4 1 6 . 5 5 m h z c r y s t a l e q u i v a l e n t s e r i e s r e s i s t a n c e 3 0 2 0 0  c l k i n i n p u t c a p a c i t a n c e 2 0 p f c l k o u t o u t p u t c a p a c i t a n c e 2 0 p f l o g i c i n p u t s ? m o s i / s d a , s c l k / s c l , s s / h s a , r e s e t , p u l l _ h i g h , p u l l _ l o w i n p u t h i g h v o l t a g e , v i n h 2 . 0 v v d d = 3 . 3 v 1 0 % i n p u t l o w v o l t a g e , v i n l 0 . 8 v v d d = 3 . 3 v 1 0 % i n p u t c u r r e n t , i i n  8 . 7 a i n p u t = 0 v , v d d = 3 . 3 v 3  a i n p u t = v d d = 3 . 3 v 1 0 0 n a i n p u t = v d d = 3 . 3 v i n p u t c a p a c i t a n c e , c i n 1 0 p f l o g i c o u t p u t s ? i r q 0 , i r q 1 , m i s o / h s d v d d = 3 . 3 v 1 0 % o u t p u t h i g h v o l t a g e , v o h 2 . 4 v v d d = 3 . 3 v 1 0 % i s o u r c e 8 0 0 a o u t p u t l o w v o l t a g e , v o l 0 . 4 v v d d = 3 . 3 v 1 0 % i s i n k 2 m a p o w e r s u p p l y f o r s p e c i f i e d p e r f o r m a n c e v d d p i n 3 . 0 3 . 6 v m i n i m u m = 3 . 3 v  1 0 % ; m a x i m u m = 3 . 3 v + 1 0 % i d d 2 5 2 7 . 8 m a 1 s e e t h e t y p i c a l p e r f o r m a n c e c h a r a c t e r i s t i c s s e c t i o n . 2 s e e t h e t e r m i n o l o g y s e c t i o n f o r a d e f i n i t i o n o f t h e p a r a m e t e r s .
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 5 o f 4 8 t i m i n g c h a r a c t e r i s t i c s v d d = 3 . 3 v 1 0 % , a g n d = d g n d = 0 v , o n - c h i p r e f e r e n c e , c l k i n = 1 6 . 3 8 4 m h z , t m i n t o t m a x = ? 4 0 c t o + 8 5 c . n o t e t h a t , w i t h i n t h e t i m i n g t a b l e s a n d d i a g r a m s , t h e d u a l f u n c t i o n p i n n a m e s a r e r e f e r e n c e d b y t h e r e l e v a n t f u n c t i o n o n l y ; s e e t h e p i n c o n f i g u r a t i o n a n d f u n c t i o n d e s c r i p t i o n s s e c t i o n f o r f u l l p i n m n e m o n i c s a n d f u n c t i o n d e s c r i p t i o n s . i 2 c - c o m p a t i b l e i n t e r f a c e t i m i n g t a b l e 2 . i 2 c - c o m p a t i b l e i n t e r f a c e t i m i n g p a r a m e t e r s s t a n d a r d m o d e f a s t m o d e p a r a m e t e r s y m b o l m i n m a x m i n m a x u n i t s c l c l o c k f r e q u e n c y f s c l 0 1 0 0 0 4 0 0 k h z h o l d t i m e ( r e p e a t e d ) s t a r t c o n d i t i o n t h d ; s t a 4 . 0 0 . 6  s l o w p e r i o d o f s c l c l o c k t l o w 4 . 7 1 . 3 s h i g h p e r i o d o f s c l c l o c k t h i g h 4 . 0 0 . 6 s s e t u p t i m e f o r r e p e a t e d s t a r t c o n d i t i o n t s u ; s t a 4 . 7 0 . 6 s d a t a h o l d t i m e t h d ; d a t 0 3 . 4 5 0 0 . 9 s d a t a s e t u p t i m e t s u ; d a t 2 5 0 1 0 0 n s r i s e t i m e o f b o t h s d a a n d s c l s i g n a l s t r 1 0 0 0 2 0 3 0 0 n s f a l l t i m e o f b o t h s d a a n d s c l s i g n a l s t f 3 0 0 2 0 3 0 0 n s s e t u p t i m e f o r s t o p c o n d i t i o n t s u ; s t o 4 . 0 0 . 6 s b u s f r e e t i m e b e t w e e n a s t o p a n d s t a r t c o n d i t i o n t b u f 4 . 7 1 . 3 s p u l s e w i d t h o f s u p p r e s s e d s p i k e s t s p n / a 1 5 0 n s 1 n / a m e a n s n o t a p p l i c a b l e . t f t r t h d ; d a t t h d ; s t a t h i g h t s u ; s t a t s u ; d a t t r t h d ; s t a t s p t s u ; s t o t r t b u f t l o w s d a s c l s t a r t c o n d i t i o n r e p e a t e d s t a r t c o n d i t i o n s t o p c o n d i t i o n s t a r t c o n d i t i o n 1 0 3 9 0 - 0 0 2 f i g u r e 2 . i 2 c - c o m p a t i b l e i n t e r f a c e t i m i n g
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 6 o f 4 8 s p i i n t e r f a c e t i m i n g t a b l e 3 . s p i i n t e r f a c e t i m i n g p a r a m e t e r s p a r a m e t e r s y m b o l m i n m a x u n i t a a s s e eaa t o s c l k e d g e t s s 5 0 n s s c l k p e r i o d 0 . 4 4 0 0 0 1  s s c l k l o w p u l s e w i d t h t s l 1 7 5 n s s c l k h i g h p u l s e w i d t h t s h 1 7 5 n s d a t a o u t p u t v a l i d a f t e r s c l k e d g e t d a v 1 0 0 n s d a t a i n p u t s e t u p t i m e b e f o r e s c l k e d g e t d s u 1 0 0 n s d a t a i n p u t h o l d t i m e a f t e r s c l k e d g e t d h d 5 n s d a t a o u t p u t f a l l t i m e t d f 2 0 n s d a t a o u t p u t r i s e t i m e t d r 2 0 n s s c l k r i s e t i m e t s r 2 0 n s s c l k f a l l t i m e t s f 2 0 n s m i s o d i s a b l e a f t e r a a s s e eaa r i s i n g e d g e t d i s 2 0 0 n s a a s s e eaa h i g h a f t e r s c l k e d g e t s f s 0 n s 1 g u a r a n t e e d b y d e s i g n . m s b l s b l s b i n i n t e r m e d i a t e b i t s i n t e r m e d i a t e b i t s t s f s t d i s t s s t s l t d f t s h t d h d t d a v t d s u t s r t s f t d r m s b i n m o s i m i s o s c l k s s 1 0 3 9 0 - 0 0 3 f i g u r e 3 . s p i i n t e r f a c e t i m i n g
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 7 o f 4 8 h s d c i n t e r f a c e t i m i n g t a b l e 4 . h s d c i n t e r f a c e t i m i n g p a r a m e t e r p a r a m e t e r s y m b o l m i n m a x u n i t h s a t o h s c l k e d g e t s s 0 n s h s c l k p e r i o d 1 2 5 n s h s c l k l o w p u l s e w i d t h t s l 5 0 n s h s c l k h i g h p u l s e w i d t h t s h 5 0 n s d a t a o u t p u t v a l i d a f t e r h s c l k e d g e t d a v 4 0 n s d a t a o u t p u t f a l l t i m e t d f 2 0 n s d a t a o u t p u t r i s e t i m e t d r 2 0 n s h s c l k r i s e t i m e t s r 1 0 n s h s c l k f a l l t i m e t s f 1 0 n s h s d d i s a b l e a f t e r h s a r i s i n g e d g e t d i s 5 n s h s a h i g h a f t e r h s c l k e d g e t s f s 0 n s m s b l s b i n t e r m e d i a t e b i t s t s f s t d i s t s s t s l t d f t s h t d a v t s r t s f t d r h s d h s c l k h s a 1 0 3 9 0 - 0 0 4 f i g u r e 4 . h s d c i n t e r f a c e t i m i n g l o a d c i r c u i t f o r a l l t i m i n g s p e c i f i c a t i o n s 2 m a i o l 8 0 0 a i o h 1 . 6 v t o o u t p u t p i n c l 5 0 p f 1 0 3 9 0 - 0 0 5 f i g u r e 5 . l o a d c i r c u i t f o r a l l t i m i n g s p e c i f i c a t i o n s
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 8 o f 4 8 a b s o l u t e m a x i m u m r a t i n g s t a = 2 5 c , u n l e s s o t h e r w i s e n o t e d . t a b l e 5 . p a r a m e t e r r a t i n g v d d t o a g n d  0 . 3 v t o + 3 . 7 v v d d t o d g n d  0 . 3 v t o + 3 . 7 v a n a l o g i n p u t v o l t a g e t o a g n d , i a p , i a n , i b p , i b n , i c p , i c n , i d p , i e p , i f p , i n  2 v t o + 2 v a n a l o g i n p u t v o l t a g e t o v p a n d v n  2 v t o + 2 v r e f e r e n c e i n p u t v o l t a g e t o a g n d  0 . 3 v t o v d d + 0 . 3 v d i g i t a l i n p u t v o l t a g e t o d g n d  0 . 3 v t o v d d + 0 . 3 v d i g i t a l o u t p u t v o l t a g e t o d g n d  0 . 3 v t o v d d + 0 . 3 v o p e r a t i n g t e m p e r a t u r e i n d u s t r i a l r a n g e  4 0 c t o + 8 5 c s t o r a g e t e m p e r a t u r e r a n g e  6 5 c t o + 1 5 0 c j u n c t i o n t e m p e r a t u r e 1 5 0 c s t r e s s e s a b o v e t h o s e l i s t e d u n d e r a b s o l u t e m a x i m u m r a t i n g s m a y c a u s e p e r m a n e n t d a m a g e t o t h e d e v i c e . t h i s i s a s t r e s s r a t i n g o n l y ; f u n c t i o n a l o p e r a t i o n o f t h e d e v i c e a t t h e s e o r a n y o t h e r c o n d i t i o n s a b o v e t h o s e l i s t e d i n t h e o p e r a t i o n a l s e c t i o n s o f t h i s s p e c i f i c a t i o n i s n o t i m p l i e d . e x p o s u r e t o a b s o l u t e m a x i m u m r a t i n g c o n d i t i o n s f o r e x t e n d e d p e r i o d s m a y a f f e c t d e v i c e r e l i a b i l i t y . r e g a r d i n g t h e t e m p e r a t u r e p r o f i l e u s e d i n s o l d e r i n g r o h s - c o m p l i a n t p a r t s , a n a l o g d e v i c e s , i n c . , a d v i s e s t h a t r e f l o w p r o f i l e s s h o u l d c o n f o r m t o j - s t d - 2 0 f r o m j e d e c . r e f e r t o t h e j e d e c w e b s i t e f o r t h e l a t e s t r e v i s i o n . t h e r m a l r e s i s t a n c e  j a i s s p e c i f i e d f o r t h e w o r s t - c a s e c o n d i t i o n s , t h a t i s , a d e v i c e s o l d e r e d i n a c i r c u i t b o a r d f o r s u r f a c e - m o u n t p a c k a g e s . t a b l e 6 . t h e r m a l r e s i s t a n c e p a c k a g e t y p e  j a  j c u n i t 4 0 - l e a d l f c s p 2 9 . 3 1 . 8 c / w e s d c a u t i o n
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 9 o f 4 8 p i n c o n f i g u r a t i o n a n d f u n c t i o n d e s c r i p t i o n s n o t e s 1 . n c = n o c o n n e c t . t h e s e p i n s a r e n o t c o n n e c t e d i n t e r n a l l y a n d s h o u l d b e l e f t f l o a t i n g . 2 . c r e a t e a s i m i l a r p a d o n t h e p c b u n d e r t h e e x p o s e d p a d . s o l d e r t h e e x p o s e d p a d t o t h e p a d o n t h e p c b t o c o n f e r m e c h a n i c a l s t r e n g t h t o t h e p a c k a g e . c o n n e c t t h e p a d s t o a g n d a n d d g n d . 1 1 n c 1 2 i b n 1 3 i c p 1 5 v p 1 7 r e f i n / o u t 1 6 v n 1 8 i n 1 9 i f p 2 0 n c 1 4 i c n n c p u l l _ h i g h p u l l _ l o w r e s e t d v d d d g n d i a p i a n i b p n c i d p a v d d a g n d v d d c l k i n c l k o u t i r q 0 n c i e p n c 3 3 n c 3 4 n c 3 5 h s c l k 3 6 s c l k / s c l 3 7 m i s o / h s d 3 8 m o s i / s d a 3 9 s s / h s a 4 0 n c 3 2 i r q 1 3 1 n c 12 3 4 5 6 7 8 9 1 0 2 3 2 4 2 5 2 6 2 7 2 8 2 9 3 0 2 2 2 1 a d e 7 8 1 6 t o p v i e w ( n o t t o s c a l e ) 1 0 3 9 0 - 0 0 6 f i g u r e 6 . p i n c o n f i g u r a t i o n t a b l e 7 . p i n f u n c t i o n d e s c r i p t i o n s p i n n o . m n e m o n i c d e s c r i p t i o n 1 , 1 0 , 1 1 , 2 0 , 2 1 , 3 0 , 3 1 , 4 0 n c n o c o n n e c t . t h e s e p i n s a r e n o t c o n n e c t e d i n t e r n a l l y a n d s h o u l d b e l e f t f l o a t i n g . 3 3 , 3 4 n c n o c o n n e c t . t h e s e p i n s s h o u l d b e l e f t f l o a t i n g . d o n o t c o n n e c t t o g n d . 2 p u l l _ h i g h c o n n e c t t h i s p i n t o v d d f o r p r o p e r o p e r a t i o n . 3 p u l l _ l o w c o n n e c t t h i s p i n t o a g n d f o r p r o p e r o p e r a t i o n . 4 a a r e s e t e e a c t i v e l o w r e s e t i n p u t . h o l d t h i s p i n l o w f o r a t l e a s t 1 0 s t o t r i g g e r a h a r d w a r e r e s e t . 5 d v d d o n - c h i p 2 . 5 v d i g i t a l l d o a c c e s s . d o n o t c o n n e c t a n y e x t e r n a l a c t i v e c i r c u i t r y t o t h i s p i n . d e c o u p l e t h i s p i n w i t h a 4 . 7 f c a p a c i t o r i n p a r a l l e l w i t h a c e r a m i c 2 2 0 n f c a p a c i t o r . 6 d g n d g r o u n d r e f e r e n c e . t h i s p i n p r o v i d e s t h e g r o u n d r e f e r e n c e f o r t h e d i g i t a l c i r c u i t r y . 7 , 8 i a p , i a n a n a l o g i n p u t s f o r c u r r e n t c h a n n e l a . t h i s c h a n n e l i s u s e d w i t h t h e c u r r e n t t r a n s d u c e r s a n d i s r e f e r e n c e d i n t h i s d a t a s h e e t a s c u r r e n t c h a n n e l a . c o n n e c t t h e s e i n p u t s i n a s i n g l e - e n d e d c o n f i g u r a t i o n w i t h a m a x i m u m s i g n a l l e v e l o f 0 . 5 v w i t h r e s p e c t t o i a n . 9 , 1 2 i b p , i b n a n a l o g i n p u t s f o r c u r r e n t c h a n n e l b . t h i s c h a n n e l i s u s e d w i t h t h e c u r r e n t t r a n s d u c e r s a n d i s r e f e r e n c e d i n t h i s d a t a s h e e t a s c u r r e n t c h a n n e l b . c o n n e c t t h e s e i n p u t s i n a s i n g l e - e n d e d c o n f i g u r a t i o n w i t h a m a x i m u m s i g n a l l e v e l o f 0 . 5 v w i t h r e s p e c t t o i b n . 1 3 , 1 4 i c p , i c n a n a l o g i n p u t s f o r c u r r e n t c h a n n e l c . t h i s c h a n n e l i s u s e d w i t h t h e c u r r e n t t r a n s d u c e r s a n d i s r e f e r e n c e d i n t h i s d a t a s h e e t a s c u r r e n t c h a n n e l c . c o n n e c t t h e s e i n p u t s i n a s i n g l e - e n d e d c o n f i g u r a t i o n w i t h a m a x i m u m s i g n a l l e v e l o f 0 . 5 v w i t h r e s p e c t t o i c n . 1 5 , 1 6 v p , v n a n a l o g i n p u t s f o r t h e v o l t a g e c h a n n e l . t h i s c h a n n e l i s u s e d w i t h t h e v o l t a g e t r a n s d u c e r a n d i s r e f e r e n c e d a s t h e v o l t a g e c h a n n e l i n t h i s d a t a s h e e t . c o n n e c t t h e s e i n p u t s i n a s i n g l e - e n d e d c o n f i g u r a t i o n w i t h a m a x i m u m s i g n a l l e v e l o f 0 . 5 v w i t h r e s p e c t t o v n . t h i s c h a n n e l a l s o h a s a n i n t e r n a l p g a . 1 7 r e f i n / o u t o n - c h i p v o l t a g e r e f e r e n c e a c c e s s . t h e o n - c h i p r e f e r e n c e h a s a n o m i n a l v a l u e o f 1 . 2 v . a n e x t e r n a l r e f e r e n c e s o u r c e w i t h 1 . 2 v 8 % c a n a l s o b e c o n n e c t e d a t t h i s p i n . i n e i t h e r c a s e , d e c o u p l e t h i s p i n t o a g n d w i t h a 4 . 7 f c a p a c i t o r i n p a r a l l e l w i t h a c e r a m i c 1 0 0 n f c a p a c i t o r . 1 8 i n a n a l o g i n p u t c o m m o n p i n f o r c u r r e n t c h a n n e l d , c u r r e n t c h a n n e l e , a n d c u r r e n t c h a n n e l f . s e e t h e p i n d e s c r i p t i o n s f o r p i n 1 9 , p i n 2 2 , a n d p i n 2 3 f o r m o r e d e t a i l s . 1 9 i f p a n a l o g i n p u t f o r c u r r e n t c h a n n e l f . t h i s c h a n n e l i s u s e d w i t h t h e c u r r e n t t r a n s d u c e r s a n d i s r e f e r e n c e d i n t h i s d a t a s h e e t a s c u r r e n t c h a n n e l f . c o n n e c t t h i s i n p u t i n a s i n g l e - e n d e d c o n f i g u r a t i o n w i t h a m a x i m u m s i g n a l l e v e l o f 0 . 5 v w i t h r e s p e c t t o i n . 2 2 i e p a n a l o g i n p u t f o r c u r r e n t c h a n n e l e . t h i s c h a n n e l i s u s e d w i t h t h e c u r r e n t t r a n s d u c e r s a n d i s r e f e r e n c e d i n t h i s d a t a s h e e t a s c u r r e n t c h a n n e l e . c o n n e c t t h i s i n p u t i n a s i n g l e - e n d e d c o n f i g u r a t i o n w i t h a m a x i m u m s i g n a l l e v e l o f 0 . 5 v w i t h r e s p e c t t o i n . 2 3 i d p a n a l o g i n p u t f o r c u r r e n t c h a n n e l d . t h i s c h a n n e l i s u s e d w i t h t h e c u r r e n t t r a n s d u c e r s a n d i s r e f e r e n c e d i n
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 1 0 o f 4 8 p i n n o . m n e m o n i c d e s c r i p t i o n t h i s d a t a s h e e t a s c u r r e n t c h a n n e l d . c o n n e c t t h i s i n p u t i n a s i n g l e - e n d e d c o n f i g u r a t i o n w i t h a m a x i m u m s i g n a l l e v e l o f 0 . 5 v w i t h r e s p e c t t o i n . 2 4 a v d d o n - c h i p 2 . 5 v a n a l o g l o w d r o p o u t ( l d o ) r e g u l a t o r a c c e s s . d o n o t c o n n e c t e x t e r n a l a c t i v e c i r c u i t r y t o t h i s p i n . d e c o u p l e t h i s p i n w i t h a 4 . 7 f c a p a c i t o r i n p a r a l l e l w i t h a c e r a m i c 2 2 0 n f c a p a c i t o r . 2 5 a g n d g r o u n d r e f e r e n c e . t h i s p i n p r o v i d e s t h e g r o u n d r e f e r e n c e f o r t h e a n a l o g c i r c u i t r y . t i e t h i s p i n t o t h e a n a l o g g r o u n d p l a n e o r t o t h e q u i e t e s t g r o u n d r e f e r e n c e i n t h e s y s t e m . u s e t h i s q u i e t g r o u n d r e f e r e n c e f o r a l l a n a l o g c i r c u i t r y , s u c h a s a n t i a l i a s i n g f i l t e r s a n d c u r r e n t a n d v o l t a g e t r a n s d u c e r s . 2 6 v d d s u p p l y v o l t a g e . t h i s p i n p r o v i d e s t h e s u p p l y v o l t a g e a n d s h o u l d b e s e t a t 3 . 3 v 1 0 % f o r s p e c i f i e d o p e r a t i o n . d e c o u p l e t h i s p i n t o a g n d w i t h a 1 0 f c a p a c i t o r i n p a r a l l e l w i t h a c e r a m i c 1 0 0 n f c a p a c i t o r . 2 7 c l k i n m a s t e r c l o c k . a n e x t e r n a l c l o c k c a n b e p r o v i d e d a t t h i s l o g i c i n p u t . a l t e r n a t i v e l y , a p a r a l l e l r e s o n a n t a t - c u t c r y s t a l c a n b e c o n n e c t e d a c r o s s c l k i n a n d c l k o u t t o p r o v i d e a c l o c k s o u r c e f o r t h e a d e 7 8 1 6 . t h e c l o c k f r e q u e n c y f o r s p e c i f i e d o p e r a t i o n i s 1 6 . 3 8 4 m h z . u s e c e r a m i c l o a d c a p a c i t o r s o f a f e w t e n s o f p i c o f a r a d s ( p f ) w i t h t h e g a t e o s c i l l a t o r c i r c u i t . r e f e r t o t h e c r y s t a l m a n u f a c t u r e r d a t a s h e e t f o r l o a d c a p a c i t a n c e r e q u i r e m e n t s . 2 8 c l k o u t a c r y s t a l c a n b e c o n n e c t e d a c r o s s t h i s p i n a n d c l k i n ( a s s t a t e d i n t h e d e s c r i p t i o n f o r p i n 2 7 ) t o p r o v i d e a c l o c k s o u r c e f o r t h e a d e 7 8 1 6 . t h e c l k o u t p i n c a n d r i v e o n e c m o s l o a d w h e n e i t h e r a n e x t e r n a l c l o c k i s s u p p l i e d a t c l k i n o r a c r y s t a l i s b e i n g u s e d . 2 9 , 3 2 i r q 0 , i r q 1 i n t e r r u p t r e q u e s t o u t p u t s . t h e s e a r e a c t i v e l o w l o g i c o u t p u t s . s e e t h e i n t e r r u p t s s e c t i o n f o r a d e t a i l e d p r e s e n t a t i o n o f t h e e v e n t s t h a t c a n t r i g g e r i n t e r r u p t s . 3 5 h s c l k s e r i a l c l o c k o u t p u t f o r t h e h s d c p o r t . 3 6 s c l k / s c l s e r i a l c l o c k i n p u t f o r t h e s p i p o r t / s e r i a l c l o c k i n p u t f o r t h e i 2 c p o r t . a l l s e r i a l d a t a t r a n s f e r s a r e s y n c h r o n i z e d t o t h i s c l o c k ( s e e t h e c o m m u n i c a t i o n s e c t i o n ) . t h i s p i n h a s a s c h m i d t t r i g g e r i n p u t f o r u s e w i t h a c l o c k s o u r c e t h a t h a s a s l o w e d g e t r a n s i t i o n t i m e ( f o r e x a m p l e , o p t o - i s o l a t o r o u t p u t s ) . 3 7 m i s o / h s d d a t a o u t p u t f o r s p i p o r t / d a t a o u t p u t f o r h s d c p o r t . 3 8 m o s i / s d a d a t a i n p u t f o r s p i p o r t / d a t a o u t p u t f o r i 2 c p o r t . 3 9 s s / h s a s l a v e s e l e c t f o r s p i p o r t / h s d c p o r t a c t i v e . e p e x p o s e d p a d e x p o s e d p a d . c r e a t e a s i m i l a r p a d o n t h e p c b u n d e r t h e e x p o s e d p a d . s o l d e r t h e e x p o s e d p a d t o t h e p a d o n t h e p c b t o c o n f e r m e c h a n i c a l s t r e n g t h t o t h e p a c k a g e . c o n n e c t t h e p a d s t o a g n d a n d d g n d .
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 1 1 o f 4 8 t y p i c a l p e r f o r m a n c e c h a r a c t e r i s t i c s 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 0 1 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) + 8 5 c + 2 5 c ? 4 0 c 1 0 3 9 0 - 1 0 1 f i g u r e 7 . a c t i v e e n e r g y e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 , p o w e r f a c t o r = 1 ) o v e r t e m p e r a t u r e w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o f f 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 0 1 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) p f = + 0 . 5 p f = + 1 p f = ? 0 . 5 1 0 3 9 0 - 1 0 2 f i g u r e 8 . a c t i v e e n e r g y e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 , t e m p e r a t u r e = 2 5 c ) o v e r p o w e r f a c t o r w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o f f 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 0 1 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) v d d = 2 . 9 7 v v d d = 3 . 3 0 v v d d = 3 . 6 3 v 1 0 3 9 0 - 1 0 3 f i g u r e 9 . a c t i v e e n e r g y e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 , t e m p e r a t u r e = 2 5 c , p o w e r f a c t o r = 1 ) o v e r s u p p l y v o l t a g e w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o f f 0 . 5 ? 0 . 5 ? 0 . 4 ? 0 . 3 ? 0 . 2 ? 0 . 1 0 0 . 1 0 . 2 0 . 3 0 . 4 4 5 6 5 6 0 5 5 5 0 e r r o r ( % o f r e a d i n g ) f r e q u e n c y ( h z ) p f = + 0 . 5 p f = + 1 p f = ? 0 . 5 1 0 3 9 0 - 1 0 4 f i g u r e 1 0 . a c t i v e e n e r g y e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 , t e m p e r a t u r e = 2 5 c ) o v e r f r e q u e n c y a n d p o w e r f a c t o r w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o f f 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 0 1 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) + 8 5 c + 2 5 c ? 4 0 c 1 0 3 9 0 - 1 0 5 f i g u r e 1 1 . r e a c t i v e e n e r g y e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 , p o w e r f a c t o r = 0 ) o v e r t e m p e r a t u r e w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o f f 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 0 1 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) p f = + 0 . 8 7 p f = 0 p f = ? 0 . 8 7 1 0 3 9 0 - 1 0 6 f i g u r e 1 2 . r e a c t i v e e n e r g y e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 , t e m p e r a t u r e = 2 5 c ) o v e r p o w e r f a c t o r w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o f f
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 1 2 o f 4 8 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 0 1 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) v d d = 3 . 3 0 v v d d = 3 . 6 3 v v d d = 2 . 9 7 v 1 0 3 9 0 - 1 0 7 f i g u r e 1 3 . r e a c t i v e e n e r g y e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 , t e m p e r a t u r e = 2 5 c , p o w e r f a c t o r = 0 ) o v e r s u p p l y v o l t a g e w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o f f 0 . 5 ? 0 . 5 ? 0 . 4 ? 0 . 3 ? 0 . 2 ? 0 . 1 0 0 . 1 0 . 2 0 . 3 0 . 4 4 5 6 5 6 0 5 5 5 0 e r r o r ( % o f r e a d i n g ) f r e q u e n c y ( h z ) p f = + 0 . 8 7 p f = 0 p f = ? 0 . 8 7 1 0 3 9 0 - 1 0 8 f i g u r e 1 4 . r e a c t i v e e n e r g y e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 , t e m p e r a t u r e = 2 5 c ) o v e r f r e q u e n c y a n d p o w e r f a c t o r w i t h i n t e r n a l r e f e r e n c e 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) 1 0 3 9 0 - 1 0 9 f i g u r e 1 5 . i r m s e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 , t e m p e r a t u r e = 2 5 c , p o w e r f a c t o r = 1 ) w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o f f 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) 1 0 3 9 0 - 1 1 0 f i g u r e 1 6 . v r m s e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 , t e m p e r a t u r e = 2 5 c , p o w e r f a c t o r = 1 ) w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o f f 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) + 8 5 c + 2 5 c ? 4 0 c 1 0 3 9 0 - 1 1 1 f i g u r e 1 7 . a c t i v e e n e r g y e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 6 , p o w e r f a c t o r = 1 ) o v e r t e m p e r a t u r e w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o n 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) p f = + 0 . 5 p f = 1 p f = ? 0 . 5 1 0 3 9 0 - 1 1 2 f i g u r e 1 8 . a c t i v e e n e r g y e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 6 , t e m p e r a t u r e = 2 5 c ) o v e r p o w e r f a c t o r w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o n
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 1 3 o f 4 8 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) + 8 5 c + 2 5 c ? 4 0 c 1 0 3 9 0 - 1 1 3 f i g u r e 1 9 . r e a c t i v e e n e r g y e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 6 , p o w e r f a c t o r = 0 ) o v e r t e m p e r a t u r e w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o n 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) p f = + 0 . 8 7 p f = 0 p f = ? 0 . 8 7 1 0 3 9 0 - 1 1 4 f i g u r e 2 0 . r e a c t i v e e n e r g y e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 6 , t e m p e r a t u r e = 2 5 c ) o v e r p o w e r f a c t o r w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o n 1 . 0 ? 1 . 0 ? 0 . 8 ? 0 . 6 ? 0 . 4 ? 0 . 2 0 0 . 2 0 . 4 0 . 6 0 . 8 0 . 1 1 1 0 1 0 0 e r r o r ( % o f r e a d i n g ) c u r r e n t c h a n n e l ( % o f f u l l s c a l e ) 1 0 3 9 0 - 1 1 5 f i g u r e 2 1 . i r m s e r r o r a s a p e r c e n t a g e o f r e a d i n g ( g a i n = 1 6 , t e m p e r a t u r e = 2 5 c , p o w e r f a c t o r = 1 ) w i t h i n t e r n a l r e f e r e n c e , i n t e g r a t o r o n
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 1 4 o f 4 8 t e s t c i r c u i t 0 . 2 2 f 4 . 7 f m o s i / s d a m i s o / h s d s c l k / s c l r e s e t 4 3 9 3 8 3 7 3 6 a d e 7 8 1 6 2 4 2 6 5 a v d d v d d d v d d 6 2 5 d g n d a g n d p u l l _ h i g h 2 p u l l _ l o w 3 h s c l k 3 5 n c 1 n c 1 0 n c 1 1 n c 2 0 n c 2 1 n c 3 0 n c 3 1 n c 3 3 n c 3 4 n c 4 0 0 . 2 2 f 4 . 7 f + + r e f i n / o u t c l k o u t c l k i n 1 7 2 8 2 7 0 . 1 f 4 . 7 f 2 0 p f + 2 0 p f 1 6 . 3 8 4 m h z n? 3 . 3 v 3 . 3 v 1 f s s / h s a 3 2 i r q 1 2 9 i r q 0 i a p 7 i a n 8 i b p 9 i b n 1 2 i c p 1 3 i c n 1 4 i f p 1 9 i e p 2 2 i d p 2 3 i n 1 8 v n 1 6 v p 1 5 1 0 3 9 0 - 0 0 7 f i g u r e 2 2 . t e s t c i r c u i t
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 1 5 o f 4 8 t e r m i n o l o g y m e a s u r e m e n t e r r o r t h e e r r o r a s s o c i a t e d w i t h t h e e n e r g y m e a s u r e m e n t m a d e b y t h e a d e 7 8 1 6 i s d e f i n e d b y t h e f o l l o w i n g e q u a t i o n : m e a s u r e m e n t e r r o r = % 1 0 0 u  e n e r g y t r u e e n e r g y t r u e a d e 7 8 1 6 b y r e g i s t e r e d e n e r g y p h a s e e r r o r b e t w e e n c h a n n e l s t h e h i g h - p a s s f i l t e r ( h p f ) a n d d i g i t a l i n t e g r a t o r i n t r o d u c e a s l i g h t p h a s e m i s m a t c h b e t w e e n t h e c u r r e n t c h a n n e l s a n d t h e v o l t a g e c h a n n e l . t h e a l l d i g i t a l d e s i g n e n s u r e s t h a t t h e p h a s e m a t c h i n g b e t w e e n t h e c u r r e n t c h a n n e l s a n d v o l t a g e c h a n n e l i n a l l t h r e e p h a s e s i s w i t h i n 0 . 1 o v e r a r a n g e o f 4 5 h z t o 6 5 h z a n d 0 . 2 o v e r a r a n g e o f 4 0 h z t o 1 k h z . t h i s i n t e r n a l p h a s e m i s m a t c h c a n b e c o m b i n e d w i t h t h e e x t e r n a l p h a s e e r r o r ( f r o m c u r r e n t s e n s o r o r c o m p o n e n t t o l e r a n c e ) a n d c a l i b r a t e d w i t h t h e p h a s e c a l i b r a t i o n r e g i s t e r s . p o w e r s u p p l y r e j e c t i o n ( p s r ) p s r q u a n t i f i e s t h e a d e 7 8 1 6 m e a s u r e m e n t e r r o r a s a p e r c e n t a g e o f r e a d i n g w h e n t h e p o w e r s u p p l i e s a r e v a r i e d . f o r t h e a c p s r m e a s u r e m e n t , a r e a d i n g a t n o m i n a l s u p p l i e s ( 3 . 3 v ) i s t a k e n . a s e c o n d r e a d i n g i s o b t a i n e d w i t h t h e s a m e i n p u t s i g n a l l e v e l s w h e n a n a c s i g n a l ( 1 2 0 m v r m s a t 1 0 0 h z ) i s i n t r o d u c e d o n t o t h e s u p p l i e s . a n y e r r o r i n t r o d u c e d b y t h i s a c s i g n a l i s e x p r e s s e d a s a p e r c e n t a g e o f r e a d i n g ( s e e t h e m e a s u r e m e n t e r r o r d e f i n i t i o n ) . f o r t h e d c p s r m e a s u r e m e n t , a r e a d i n g a t n o m i n a l s u p p l i e s ( 3 . 3 v ) i s t a k e n . a s e c o n d r e a d i n g i s o b t a i n e d w i t h t h e s a m e i n p u t s i g n a l l e v e l s w h e n t h e p o w e r s u p p l i e s a r e v a r i e d 1 0 % . a n y e r r o r i n t r o d u c e d i s e x p r e s s e d a s a p e r c e n t a g e o f t h e r e a d i n g . a d c o f f s e t e r r o r a d c o f f s e t e r r o r r e f e r s t o t h e d c o f f s e t t h a t i s a s s o c i a t e d w i t h t h e a n a l o g i n p u t s t o t h e a d c s . i t m e a n s t h a t , w i t h t h e a n a l o g i n p u t s c o n n e c t e d t o a g n d , t h e a d c s s t i l l s e e a d c a n a l o g i n p u t s i g n a l . t h e m a g n i t u d e o f t h e o f f s e t d e p e n d s o n t h e g a i n a n d i n p u t r a n g e s e l e c t i o n ( s e e t h e t y p i c a l p e r f o r m a n c e c h a r a c t e r i s t i c s s e c t i o n ) . h o w e v e r , t h e h p f r e m o v e s t h e o f f s e t f r o m t h e c u r r e n t c h a n n e l s a n d v o l t a g e c h a n n e l , a n d t h e p o w e r c a l c u l a t i o n r e m a i n s u n a f f e c t e d b y t h i s o f f s e t . g a i n e r r o r t h e g a i n e r r o r i n t h e a d c s o f t h e a d e 7 8 1 6 i s d e f i n e d a s t h e d i f f e r e n c e b e t w e e n t h e m e a s u r e d a d c o u t p u t c o d e ( m i n u s t h e o f f s e t ) a n d t h e i d e a l o u t p u t c o d e . t h e d i f f e r e n c e i s e x p r e s s e d a s a p e r c e n t a g e o f t h e i d e a l c o d e .
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 1 6 o f 4 8 q u i c k s t a r t t h i s s e c t i o n o u t l i n e s t h e p r o c e d u r e f o r p o w e r i n g u p a n d i n i t i a l i z i n g t h e a d e 7 8 1 6 . f i g u r e 2 3 s h o w s a f l o w d i a g r a m o f t h e i n i t i a l i z a t i o n s t e p s . f o r d e t a i l e d i n f o r m a t i o n , r e f e r t o t h e s e c t i o n o f t h e d a t a s h e e t t h a t p e r t a i n s t o e a c h s t e p , a s i n d i c a t e d i n f i g u r e 2 3 . a f t e r p o w e r i s s u p p l i e d t o t h e a d e 7 8 1 6 a n d c o m m u n i c a t i o n i s e s t a b l i s h e d , a s e t o f r e g i s t e r s m u s t b e w r i t t e n ( s e e f i g u r e 2 3 ) . t a b l e 8 l i s t s d e t a i l s a b o u t e a c h r e g i s t e r . t h e r e g i s t e r s l i s t e d i n t a b l e 8 a r e e s s e n t i a l f o r c o r r e c t o p e r a t i o n . a f t e r t h e s e r e g i s t e r s a r e s e t , e n a b l e a n y m e t e r - s p e c i f i c f e a t u r e s b e f o r e e n a b l i n g t h e d s p t o b e g i n t h e e n e r g y c a l c u l a t i o n s . n o t e t h a t t h e f i n a l r e g i s t e r s h o u l d b e w r i t t e n 3 t i m e s t o c l e a r t h e b u f f e r ( s e e s t a r t i n g a n d s t o p p i n g t h e d s p s e c t i o n ) w t h r 1 = 0 x 0 0 0 0 0 2 w t h r 0 = 0 x 0 0 0 0 0 0 v a r t h r 1 = 0 x 0 0 0 0 0 2 v a r t h r 0 = 0 x 0 0 0 0 0 0 p c f _ a _ c o e f f = 0 x 4 0 0 c a 4 ( 5 0 h z ) p c f _ b _ c o e f f = 0 x 4 0 0 c a 4 ( 5 0 h z ) p c f _ c _ c o e f f = 0 x 4 0 0 c a 4 ( 5 0 h z ) p c f _ d _ c o e f f = 0 x 4 0 0 c a 4 ( 5 0 h z ) p c f _ e _ c o e f f = 0 x 4 0 0 c a 4 ( 5 0 h z ) p c f _ f _ c o e f f = 0 x 4 0 0 c a 4 ( 5 0 h z ) d i c o e f f = 0 x f f f 8 0 0 0 p o w e r u p t h e a d e 7 8 1 6 ( s e e p o w e r a n d g r o u n d s e c t i o n ) i n i t i a l i z a t i o n c o m p l e t e e n a b l e t h e e n e r g y m e t e r i n g d s p ( s e e s t a r t i n g a n d s t o p p i n g t h e d s p s e c t i o n ) w r i t e r e q u i r e d r e g i s t e r d e f a u l t s s e t a n d l o c k c o m m u n i c a t i o n m o d e ( s e e c o m m u n i c a t i o n s e c t i o n ) c o n f i g u r e m e t e r s p e c i f i c i n t e r r u p t s , p o w e r q u a l i t y f e a t u r e s , a n d c a l i b r a t e ( s e e t h e i n t e r r u p t s , p o w e r q u a l i t y f e a t u r e s , a n d e n e r g y c a l i b r a t i o n s e c t i o n s ) 1 0 3 9 0 - 0 0 8 f i g u r e 2 3 . q u i c k s t a r t t a b l e 8 . r e q u i r e d r e g i s t e r d e f a u l t s r e g i s t e r a d d r e s s r e g i s t e r n a m e r e g i s t e r d e s c r i p t i o n r e q u i r e d v a l u e r e f e r e n c e i n f o r m a t i o n 0 x 4 3 a b w t h r 1 t h r e s h o l d r e g i s t e r f o r a c t i v e e n e r g y 0 x 0 0 0 0 0 2 r e f e r t o t h e a c t i v e e n e r g y t h r e s h o l d s e c t i o n . 0 x 4 3 a c w t h r 0 t h r e s h o l d r e g i s t e r f o r a c t i v e e n e r g y 0 x 0 0 0 0 0 0 r e f e r t o t h e a c t i v e e n e r g y t h r e s h o l d s e c t i o n . 0 x 4 3 a d v a r t h r 1 t h r e s h o l d r e g i s t e r f o r r e a c t i v e e n e r g y 0 x 0 0 0 0 0 2 r e f e r t o t h e r e a c t i v e e n e r g y t h r e s h o l d s e c t i o n . 0 x 4 3 a e v a r t h r 0 t h r e s h o l d r e g i s t e r f o r r e a c t i v e e n e r g y 0 x 0 0 0 0 0 0 r e f e r t o t h e r e a c t i v e e n e r g y t h r e s h o l d s e c t i o n . 0 x 4 3 b 1 p c f _ a _ c o e f f p h a s e c a l i b r a t i o n f o r c u r r e n t c h a n n e l a 0 x 4 0 0 c a 4 ( 5 0 h z ) r e f e r t o t h e e n e r g y p h a s e c a l i b r a t i o n s e c t i o n . 0 x 4 3 b 2 p c f _ b _ c o e f f p h a s e c a l i b r a t i o n f o r c u r r e n t c h a n n e l b 0 x 4 0 0 c a 4 ( 5 0 h z ) r e f e r t o t h e e n e r g y p h a s e c a l i b r a t i o n s e c t i o n . 0 x 4 3 b 3 p c f _ c _ c o e f f p h a s e c a l i b r a t i o n f o r c u r r e n t c h a n n e l c 0 x 4 0 0 c a 4 ( 5 0 h z ) r e f e r t o t h e e n e r g y p h a s e c a l i b r a t i o n s e c t i o n . 0 x 4 3 b 4 p c f _ d _ c o e f f p h a s e c a l i b r a t i o n f o r c u r r e n t c h a n n e l d 0 x 4 0 0 c a 4 ( 5 0 h z ) r e f e r t o t h e e n e r g y p h a s e c a l i b r a t i o n s e c t i o n . 0 x 4 3 b 5 p c f _ e _ c o e f f p h a s e c a l i b r a t i o n f o r c u r r e n t c h a n n e l e 0 x 4 0 0 c a 4 ( 5 0 h z ) r e f e r t o t h e e n e r g y p h a s e c a l i b r a t i o n s e c t i o n . 0 x 4 3 b 6 p c f _ f _ c o e f f p h a s e c a l i b r a t i o n f o r c u r r e n t c h a n n e l f 0 x 4 0 0 c a 4 ( 5 0 h z ) r e f e r t o t h e e n e r g y p h a s e c a l i b r a t i o n s e c t i o n . 0 x 4 3 8 8 d i c o e f f d i g i t a l i n t e g r a t o r a l g o r i t h m ; r e q u i r e d o n l y i f u s i n g d i / d t s e n s o r s 0 x f f f 8 0 0 0 r e f e r t o t h e d i g i t a l i n t e g r a t o r s e c t i o n .
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 1 7 o f 4 8 i n p u t s t h e f o l l o w i n g s e c t i o n p r o v i d e s d e t a i l s o n t h e a d e 7 8 1 6 i n p u t c o n n e c t i o n s t h a t a r e r e q u i r e d f o r c o r r e c t f u n c t i o n a l i t y . p o w e r a n d g r o u n d v d d a n d a g n d , d g n d t o p o w e r t h e a d e 7 8 1 6 , a 3 . 3 v d c i n p u t v o l t a g e s h o u l d b e p r o v i d e d b e t w e e n t h e v d d p i n a n d t h e a g n d a n d d g n d p i n s . i n a d d i t i o n , t h e p u l l _ h i g h a n d p u l l _ l o w p i n s m u s t b e c o n n e c t e d t o 3 . 3 v a n d a g n d , r e s p e c t i v e l y . t h i s c o n f i g u r a t i o n i s s h o w n i n f i g u r e 2 4 . 0 . 2 2 f 4 . 7 f 2 4 2 6 5 a v d d v d d d v d d p u l l _ h i g h 2 p u l l _ l o w 3 0 . 2 2 f 4 . 7 f + + 3 . 3 v 3 . 3 v 1 0 3 9 0 - 0 0 9 f i g u r e 2 4 . a p p l y i n g p o w e r t o t h e a d e 7 8 1 6 t h e a d e 7 8 1 6 c o n t a i n s a n o n - c h i p p o w e r s u p p l y m o n i t o r t h a t s u p e r v i s e s t h e p o w e r s u p p l y ( v d d ) . w h e n t h e v o l t a g e a p p l i e d t o t h e v d d p i n i s b e l o w 2 v 1 0 % , t h e c h i p i s i n a n i n a c t i v e s t a t e . a f t e r v d d c r o s s e s t h e 2 v 1 0 % t h r e s h o l d , t h e p o w e r s u p p l y m o n i t o r k e e p s t h e a d e 7 8 1 6 i n a n i n a c t i v e s t a t e f o r a n a d d i t i o n a l 2 6 m s . t h i s t i m e d e l a y a l l o w s v d d t o r e a c h t h e m i n i m u m s p e c i f i e d o p e r a t i n g v o l t a g e o f 3 . 3 v  1 0 % . w h e n t h e m i n i m u m s p e c i f i e d o p e r a t i n g v o l t a g e i s m e t a n d t h e p u l l _ h i g h a n d p u l l _ l o w p i n s a r e t i e d t o v d d a n d a g n d , r e s p e c t i v e l y , t h e i n t e r n a l c i r c u i t r y i s e n a b l e d . t h i s p r o c e s s i s a c c o m p l i s h e d i n a p p r o x i m a t e l y 4 0 m s . w h e n t h e s t a r t - u p s e q u e n c e i s c o m p l e t e a n d t h e a d e 7 8 1 6 i s r e a d y t o r e c e i v e c o m m u n i c a t i o n f r o m a m i c r o c o n t r o l l e r , t h e r s t d o n e f l a g i s s e t i n t h e s t a t u s 1 r e g i s t e r ( a d d r e s s 0 x e 5 0 3 ) . a n e x t e r n a l i n t e r r u p t i s t r i g g e r e d o n t h e i r q 1 p i n . t h e r s t d o n e i n t e r r u p t i s e n a b l e d b y d e f a u l t a n d c a n n o t b e d i s a b l e d ; t h e r e f o r e , a n e x t e r n a l i n t e r r u p t a l w a y s o c c u r s a t t h e e n d o f a p o w e r - u p p r o c e d u r e o r h a r d w a r e o r s o f t w a r e r e s e t . i t i s h i g h l y r e c o m m e n d e d t h a t t h e r s t d o n e i n t e r r u p t b e u s e d b y t h e m i c r o c o n t r o l l e r t o g a t e t h e f i r s t c o m m u n i c a t i o n w i t h t h e a d e 7 8 1 6 . i f t h e i n t e r r u p t i s n o t u s e d , a t i m e o u t c a n b e i m p l e - m e n t e d . h o w e v e r , b e c a u s e t h e s t a r t - u p s e q u e n c e c a n v a r y f r o m p a r t t o p a r t a n d o v e r t e m p e r a t u r e , a t i m e o u t o f a l e a s t 1 0 0 m s i s r e c o m m e n d e d . t h e r s t d o n e i n t e r r u p t p r o v i d e s t h e m o s t t i m e - e f f i c i e n t w a y o f m o n i t o r i n g t h e c o m p l e t i o n o f t h e a d e 7 8 1 6 s t a r t - u p s e q u e n c e . t h e a v d d a n d d v d d o u t p u t p i n s p r o v i d e a c c e s s t o t h e o n - c h i p a n a l o g a n d d i g i t a l l d o s . w h e n t h e a d e 7 8 1 6 i s f u l l y p o w e r e d u p , t h e s e p i n s a r e a t 2 . 5 v . i f t h e i n t e r n a l r e f e r e n c e i s b e i n g u s e d , t h e r e f i n / o u t p i n o u t p u t s 1 . 2 v ( s e e t h e r e f e r e n c e c i r c u i t s e c t i o n ) . w h e n t h e s t a r t - u p s e q u e n c e i s c o m p l e t e , a l l r e g i s t e r s a r e a t t h e i r d e f a u l t v a l u e , a n d t h e i 2 c p o r t i s t h e a c t i v e s e r i a l p o r t . c o m m u - n i c a t i o n w i t h t h e a d e 7 8 1 6 c a n b e g i n . s e e t h e c o m m u n i c a t i o n s e c t i o n f o r m o r e d e t a i l s . t o s t a r t t h e e n e r g y a n d r m s c o m p u t a t i o n s , t h e i n t e r n a l d s p m u s t b e p o w e r e d u p a f t e r a l l c o n f i g u r a t i o n r e g i s t e r s a r e s e t t o t h e i r d e s i r e d v a l u e s . t h e d s p i s s t a r t e d b y s e t t i n g t h e r u n r e g i s t e r ( a d d r e s s 0 x e 2 2 8 ) t o 0 x 0 0 0 1 . s e e t h e s t a r t i n g a n d s t o p p i n g t h e d s p s e c t i o n f o r m o r e i n f o r m a t i o n . r e f e r e n c e c i r c u i t r e f i n / o u t t h e n o m i n a l r e f e r e n c e v o l t a g e a t t h e r e f i n / o u t p i n i s 1 . 2 v 0 . 0 7 5 % . t h e r e f i n / o u t p i n c a n b e o v e r d r i v e n b y a n e x t e r n a l 1 . 2 v r e f e r e n c e s o u r c e . i f b i t 0 ( e x t r e f e n ) i n t h e c o n f i g 2 r e g i s t e r ( a d d r e s s 0 x e c 0 1 ) i s c l e a r e d t o 0 ( t h e d e f a u l t v a l u e ) , t h e a d e 7 8 1 6 u s e s t h e i n t e r n a l v o l t a g e r e f e r e n c e . i f b i t 0 i s s e t t o 1 , t h e e x t e r n a l v o l t a g e r e f e r e n c e i s u s e d . t h e v o l t a g e o f t h e a d e 7 8 1 6 i n t e r n a l r e f e r e n c e d r i f t s s l i g h t l y w i t h t e m p e r a t u r e ; s e e t h e s p e c i f i c a t i o n s s e c t i o n f o r t h e t e m p e r a t u r e c o e f f i c i e n t s p e c i f i c a t i o n ( i n p p m / c ) . t h e v a l u e o f t h e t e m p e r a t u r e d r i f t v a r i e s f r o m p a r t t o p a r t . b e c a u s e t h e r e f e r e n c e i s u s e d f o r a l l a d c s , a n y x % d r i f t i n t h e r e f e r e n c e r e s u l t s i n a 2 x % d e v i a t i o n o f t h e m e t e r a c c u r a c y . r e s e t h a r d w a r e r e s e t t o i n i t i a t e a h a r d w a r e r e s e t o f t h e a d e 7 8 1 6 , t h e r e s e t p i n m u s t b e p u l l e d l o w f o r a t l e a s t 1 0 s . a f t e r t h e r e s e t p i n r e t u r n s h i g h , a l l r e g i s t e r s r e t u r n t o t h e i r d e f a u l t v a l u e s . t h e a d e 7 8 1 6 s i g n a l s t h e e n d o f t h e t r a n s i t i o n p e r i o d b y t r i g g e r i n g t h e i r q 1 i n t e r r u p t p i n l o w a n d s e t t i n g b i t 1 5 ( r s t d o n e ) i n t h e s t a t u s 1 r e g i s t e r t o 1 . t h i s b i t i s s e t t o 0 d u r i n g t h e t r a n s i t i o n p e r i o d a n d c h a n g e s t o 1 w h e n t h e t r a n s i t i o n e n d s . s o f t w a r e r e s e t f u n c t i o n a l i t y b i t 7 ( s w r s t ) i n t h e c o n f i g r e g i s t e r ( a d d r e s s 0 x e 6 1 8 ) m a n a g e s t h e s o f t w a r e r e s e t f u n c t i o n a l i t y i n t h e a d e 7 8 1 6 . t h e d e f a u l t v a l u e o f t h i s b i t i s 0 . i f b i t 7 i s s e t t o 1 , t h e a d e 7 8 1 6 e n t e r s t h e s o f t w a r e r e s e t s t a t e . i n t h i s s t a t e , a l l i n t e r n a l r e g i s t e r s a r e s e t t o t h e i r d e f a u l t v a l u e s , w i t h t h e e x c e p t i o n o f t h e c o n f i g 2 r e g i s t e r , w h i c h r e t a i n s i t s e x i s t i n g v a l u e . i n a d d i t i o n , t h e c h o i c e o f w h i c h s e r i a l p o r t i s i n u s e ( i 2 c o r s p i ) r e m a i n s u n c h a n g e d i f t h e l o c k - i n p r o c e d u r e w a s e x e c u t e d p r e v i o u s l y ( s e e t h e c o m m u n i c a t i o n s e c t i o n f o r d e t a i l s ) . w h e n t h e s o f t w a r e r e s e t e n d s , b i t 7 ( s w r s t ) i n t h e c o n f i g r e g i s t e r i s c l e a r e d t o 0 , t h e i r q 1 i n t e r r u p t p i n i s s e t l o w , a n d b i t 1 5 ( r s t d o n e ) i n t h e s t a t u s 1 r e g i s t e r i s s e t t o 1 . r s t d o n e i s s e t t o 0 d u r i n g t h e t r a n s i t i o n p e r i o d a n d c h a n g e s t o 1 w h e n t h e t r a n s i t i o n e n d s . i t i s r e c o m m e n d e d t h a t a l l m e t e r s b e d e s i g n e d t o h a v e b o t h s o f t w a r e a n d h a r d w a r e r e s e t c a p a b i l i t y .
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 1 8 o f 4 8 c l k i n a n d c l k o u t a n e x t e r n a l c l o c k o r p a r a l l e l r e s o n a n t c r y s t a l i s r e q u i r e d t o c l o c k t h e a d e 7 8 1 6 . i f a n e x t e r n a l c l o c k s o u r c e i s b e i n g u s e d , i t s h o u l d b e c o n n e c t e d t o t h e c l k i n p i n . t h e r e q u i r e d c l o c k f r e q u e n c y f o r s p e c i f i e d o p e r a t i o n i s 1 6 . 3 8 4 m h z . a l t e r n a t i v e l y , a p a r a l l e l r e s o n a n t a t - c u t c r y s t a l c a n b e c o n n e c t e d a c r o s s t h e c l k i n a n d c l k o u t p i n s . t h e a d e 7 8 1 6 h a s n o i n t e r n a l l o a d c a p a c i t a n c e a n d , t h e r e f o r e , l o a d c a p a c i t o r s b a s e d o n t h e d a t a s h e e t o f t h e c r y s t a l m a n u f a c t u r e r s h o u l d b e a d d e d o n e a c h p i n . a n a l o g i n p u t s i n p u t p i n s t h e a d e 7 8 1 6 h a s s e v e n a n a l o g i n p u t s t h a t f o r m s i x c u r r e n t c h a n n e l s a n d o n e v o l t a g e c h a n n e l . c u r r e n t c h a n n e l a , c u r r e n t c h a n n e l b , a n d c u r r e n t c h a n n e l c e a c h c o n s i s t o f a p a i r o f d i f - f e r e n t i a l i n p u t p i n s : i a p a n d i a n , i b p a n d i b n , a n d i c p a n d i c n . c u r r e n t c h a n n e l d , c u r r e n t c h a n n e l e , a n d c u r r e n t c h a n n e l f a l l s h a r e a c o m m o n r e f e r e n c e , i n , a n d , t h e r e f o r e , a r e s i n g l e - e n d e d . f o r c o n s i s t e n c y , i t i s r e c o m m e n d e d t h a t a l l s i x c u r r e n t i n p u t s b e c o n n e c t e d i n a s i n g l e - e n d e d c o n f i g u r a t i o n ( s e e f i g u r e 2 6 a n d f i g u r e 2 7 ) . t h e v o l t a g e c h a n n e l i s a f u l l y d i f f e r e n t i a l i n p u t t h a t c o n s i s t s o f a p a i r o f i n p u t s : v p a n d v n . t h e v o l t a g e c h a n n e l i s t y p i c a l l y c o n n e c t e d i n a s i n g l e - e n d e d c o n f i g u r a t i o n . t h e m a x i m u m i n p u t v o l t a g e t h a t s h o u l d b e a p p l i e d t o a n y i n p u t c h a n n e l i s 5 0 0 m v . t h e m a x i m u m c o m m o n - m o d e s i g n a l t h a t i s a l l o w e d o n t h e i n p u t s i s 2 5 m v . f i g u r e 2 5 s h o w s a s c h e m a t i c o f t h e i n p u t s a n d t h e i r r e l a t i o n t o t h e m a x i m u m c o m m o n - m o d e v o l t a g e . v n v p v c m v 1 + 5 0 0 m v v c m v 1 d i f f e r e n t i a l i n p u t v 1 + v 2 = 5 0 0 m v m a x p e a k c o m m o n m o d e v c m = 2 5 m v m a x ? 5 0 0 m v 1 0 3 9 0 - 0 1 0 f i g u r e 2 5 . m a x i m u m i n p u t l e v e l p g a g a i n t h e a d e 7 8 1 6 h a s t h r e e i n t e r n a l p g a g a i n a m p l i f i e r s t h a t c a n b e u s e d t o a m p l i f y t h e i n p u t s i g n a l s b y 2 , 4 , 8 o r 1 6 . t h e p g a g a i n s t a g e i s o f t e n r e q u i r e d w h e n u s i n g a c u r r e n t s e n s o r t h a t p r o d u c e s a l o w o u t p u t v o l t a g e , s u c h a s r o g o w s k i c o i l s . p g a 1 a f f e c t s c u r r e n t c h a n n e l a , c u r r e n t c h a n n e l b , a n d c u r r e n t c h a n n e l c a n d i s c o n t r o l l e d b y b i t s [ 2 : 0 ] ( p g a 1 ) o f t h e g a i n r e g i s t e r ( a d d r e s s 0 x e 6 0 f ) . p g a 2 a f f e c t s t h e v o l t a g e c h a n n e l a n d i s c o n t r o l l e d b y b i t s [ 5 : 3 ] ( p g a 2 ) o f t h e g a i n r e g i s t e r . p g a 3 a f f e c t s c u r r e n t c h a n n e l d , c u r r e n t c h a n n e l e , a n d c u r r e n t c h a n n e l f a n d i s c o n t r o l l e d b y b i t s [ 8 : 6 ] ( p g a 3 ) o f t h e g a i n r e g i s t e r . t a b l e 9 l i s t s d e t a i l s o n h o w t h e p g a g a i n a f f e c t s t h e f u l l - s c a l e i n p u t v o l t a g e . t a b l e 9 . p g a g a i n g a i n f u l l - s c a l e s i n g l e - e n d e d i n p u t ( m v ) g a i n r e g i s t e r ( a d d r e s s 0 x e 6 0 f ) p g a 1 [ 2 : 0 ] p g a 2 [ 5 : 3 ] p g a 3 [ 8 : 6 ] 1 5 0 0 0 0 0 0 0 0 0 0 0 2 2 5 0 0 0 1 0 0 1 0 0 1 4 1 2 5 0 1 0 0 1 0 0 1 0 8 6 2 . 5 0 1 1 0 1 1 0 1 1 1 6 3 1 . 2 5 1 0 0 1 0 0 1 0 0 d i g i t a l i n t e g r a t o r t h e a d e 7 8 1 6 i n c l u d e s a d i g i t a l i n t e g r a t o r t h a t m u s t b e e n a b l e d w h e n u s i n g a d i / d t s e n s o r s u c h a s a r o g o w s k i c o i l . t h i s i n t e g r a t o r i s e n a b l e d b y s e t t i n g t h e i n t e n b i t ( b i t 0 ) o f t h e c o n f i g r e g i s t e r ( a d d r e s s 0 x e 6 1 8 ) t o 1 . w h e n u s i n g t h e d i g i t a l i n t e g r a t o r , t h e d i c o e f f r e g i s t e r ( a d d r e s s 0 x 4 3 8 8 ) s h o u l d b e w r i t t e n t o 0 x f f f 8 0 0 0 . f o r m o r e d e t a i l s o n t h e t h e o r y b e h i n d t h e d i g i t a l i n t e g r a t o r , r e f e r t o t h e a n - 1 1 3 7 a p p l i c a t i o n n o t e .
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 1 9 o f 4 8 a n t i a l i a s i n g f i l t e r s e a c h a n a l o g i n p u t p i n r e q u i r e s t h a t a s i m p l e r c f i l t e r b e c o n n e c t e d t o t h e i n p u t . t h e r o l e o f t h e r c f i l t e r i s t o p r e v e n t a l i a s i n g . t h e a l i a s i n g e f f e c t i s c a u s e d b y f r e q u e n c y c o m p o n e n t s ( w h i c h a r e h i g h e r t h a n h a l f t h e s a m p l i n g r a t e o f t h e a d c ) f o l d i n g b a c k a n d a p p e a r i n g i n t h e s a m p l e d s i g n a l a t a f r e q u e n c y t h a t i s b e l o w h a l f t h e s a m p l i n g r a t e . a l i a s i n g i s a n a r t i f a c t o f a l l s a m p l e d s y s t e m s . f o r c o n v e n t i o n a l c u r r e n t s e n s o r s , i t i s r e c o m m e n d e d t h a t o n e r c f i l t e r w i t h a c o r n e r f r e q u e n c y o f 5 k h z b e u s e d f o r t h e a t t e n u a t i o n t o b e s u f f i c i e n t l y h i g h a t t h e s a m p l i n g f r e q u e n c y o f 1 . 0 2 4 m h z . t h e 2 0 d b p e r d e c a d e a t t e n u a t i o n o f t h i s f i l t e r i s u s u a l l y s u f f i c i e n t t o e l i m i n a t e t h e e f f e c t s o f a l i a s i n g f o r c o n v e n t i o n a l c u r r e n t s e n s o r s ( s e e f i g u r e 2 6 ) . l o a d p h a s e a d e 7 8 1 6 n? n? 2 2 n f 2 2 n f i a p i a n r b c u r r e n t t r a n s f o r m e r 1 0 3 9 0 - 0 1 1 f i g u r e 2 6 . c u r r e n t t r a n s f o r m e r i n p u t c o n n e c t i o n s h o w e v e r , a d i / d t s e n s o r , s u c h a s a r o g o w s k i c o i l , h a s a 2 0 d b p e r d e c a d e g a i n . t h i s n e u t r a l i z e s t h e 2 0 d b p e r d e c a d e a t t e n u a t i o n p r o d u c e d b y t h e l o w - p a s s f i l t e r ( l p f ) . t h e r e f o r e , w h e n u s i n g a d i / d t s e n s o r , a s e c o n d p o l e i s r e q u i r e d . o n e s i m p l e a p p r o a c h i s t o c a s c a d e o n e a d d i t i o n a l r c f i l t e r , t h e r e b y p r o d u c i n g a  4 0 d b p e r d e c a d e a t t e n u a t i o n ( s e e f i g u r e 2 7 ) . l o a d p h a s e a d e 7 8 1 6 n? n? 2 2 n f 2 2 n f ? ? 2 2 n f 2 2 n f i a p i a n r o g o w s k i c o i l 1 0 3 9 0 - 0 1 2 f i g u r e 2 7 . r o g o w s k i c o i l i n p u t c o n n e c t i o n s
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 2 0 o f 4 8 e n e r g y m e a s u r e m e n t s t h i s s e c t i o n d e s c r i b e s t h e e n e r g y m e a s u r e m e n t s a v a i l a b l e i n t h e a d e 7 8 1 6 . f o r i n f o r m a t i o n a b o u t t h e t h e o r y b e h i n d t h e s e m e a s u r e m e n t s , r e f e r t o t h e a n - 1 1 3 7 a p p l i c a t i o n n o t e . s t a r t i n g a n d s t o p p i n g t h e d s p t o o b t a i n e n e r g y m e a s u r e m e n t s , t h e i n t e r n a l p r o c e s s o r m u s t f i r s t b e s t a r t e d b y s e t t i n g t h e r u n r e g i s t e r ( a d d r e s s 0 x e 2 2 8 ) t o 0 x 0 0 0 1 . i t i s r e c o m m e n d e d t h a t a l l r e g i s t e r s b e i n i t i a l i z e d b e f o r e s t a r t i n g t h e d s p a n d t h a t t h e l a s t r e g i s t e r i n t h e q u e u e b e w r i t t e n t h r e e t i m e s t o f l u s h t h e p i p e l i n e . w h e n t h i s p r o c e d u r e i s c o m p l e t e , t h e d s p s h o u l d b e s t a r t e d . t h e r e i s n o r e a s o n t o s t o p t h e d s p , o n c e s t a r t e d , b e c a u s e a l l o f t h e r e g i s t e r s c a n b e m o d i f i e d w h i l e t h e d s p i s r u n n i n g . t h e d s p c a n b e s t o p p e d , h o w e v e r , b y w r i t i n g 0 x 0 0 0 0 t o t h e r u n r e g i s t e r . w i t h i n t h e d s p c o r e , t h e r e i s a t w o - s t a g e p i p e l i n e . t h i s m e a n s t h a t w h e n a s i n g l e r e g i s t e r m u s t b e i n i t i a l i z e d , t w o o r m o r e w r i t e s a r e r e q u i r e d t o e n s u r e t h a t t h e v a l u e h a s b e e n w r i t t e n . i f t w o o r m o r e r e g i s t e r s m u s t b e i n i t i a l i z e d , t h e l a s t r e g i s t e r m u s t b e w r i t t e n t w o m o r e t i m e s t o e n s u r e t h a t t h e v a l u e i s w r i t t e n i n t o t h e r a m . i t i s r e c o m m e n d e d t h a t t h e l a s t r e g i s t e r b e w r i t t e n t h r e e t i m e s t o e n s u r e s u c c e s s f u l c o m m u n i c a t i o n . s e e t h e r e g i s t e r p r o t e c t i o n s e c t i o n f o r d e t a i l s o n p r o t e c t i n g t h e s e r e g i s t e r s . a c t i v e e n e r g y m e a s u r e m e n t d e f i n i t i o n o f a c t i v e p o w e r a n d a c t i v e e n e r g y a c t i v e p o w e r i s t h e p r o d u c t o f v o l t a g e a n d c u r r e n t a n d i s t h e p o w e r d i s s i p a t e d i n a p u r e l y r e s i s t i v e l o a d . a c t i v e e n e r g y i s t h e a c c u m u l a t i o n o f a c t i v e p o w e r o v e r t i m e a n d i s m e a s u r e d i n w a t t s . t h e a v e r a g e p o w e r o v e r a n i n t e g r a l n u m b e r o f l i n e c y c l e s ( n ) i s g i v e n b y t h e f o l l o w i n g e x p r e s s i o n : p = 3 n t d t t p n t 0 ) ( 1 = v i ( 1 ) w h e r e : v i s t h e r m s v o l t a g e . i i s t h e r m s c u r r e n t . p i s t h e a c t i v e o r r e a l p o w e r . t i s t h e l i n e c y c l e p e r i o d . a c t i v e e n e r g y r e g i s t e r s t h e a d e 7 8 1 6 h a s s i x a c t i v e e n e r g y r e g i s t e r s , w h e r e t h e a c t i v e e n e r g y i s a c c u m u l a t e d f o r e a c h o f t h e s i x c h a n n e l s s e p a r a t e l y : a w a t t h r ( a d d r e s s 0 x e 4 0 0 ) , b w a t t h r ( a d d r e s s 0 x e 4 0 1 ) , c w a t t h r ( a d d r e s s 0 x e 4 0 2 ) , d w a t t h r ( a d d r e s s 0 x e 4 0 3 ) , e w a t t h r ( a d d r e s s 0 x e 4 0 4 ) a n d f w a t t h r ( a d d r e s s 0 x e 4 0 5 ) . a l l a c t i v e e n e r g y r e g i s t e r s a r e i n 3 2 - b i t , s i g n e d f o r m a t . t h e a d e 7 8 1 6 a c c u m u l a t e s b o t h p o s i t i v e a n d n e g a t i v e p o w e r . n e g a t i v e p o w e r i n d i c a t e s t h a t t h e a n g l e b e t w e e n t h e v o l t a g e a n d c u r r e n t i s g r e a t e r t h a n 9 0 , a n d p o w e r i s b e i n g i n j e c t e d b a c k i n t o t h e g r i d . t h e a d e 7 8 1 6 p r o v i d e s a s i g n e d a c c u m u l a t i o n o f t h e p o w e r ; p o s i t i v e p o w e r i s a d d e d a n d n e g a t i v e p o w e r i s s u b t r a c t e d . f i g u r e 2 8 s h o w s t h e c o n f i g u r a t i o n s o f t h e a c t i v e e n e r g y s i g n a l p a t h . a c t i v e e n e r g y t h r e s h o l d t h e a d e 7 8 1 6 a c c u m u l a t e s e n e r g y i n t w o s t e p s ( s e e f i g u r e 2 8 ) . t h e f i r s t s t e p o c c u r s i n t e r n a l l y , u s i n g t h e t w o t h r e s h o l d r e g i s t e r s , w t h r 1 ( a d d r e s s 0 x 4 3 a b ) a n d w t h r 0 ( a d d r e s s 0 x 4 3 a c ) . t h e s e r e g i s t e r s m a k e u p t h e m o s t s i g n i f i c a n t a n d l e a s t s i g n i f i c a n t 2 4 b i t s , r e s p e c t i v e l y , o f a n i n t e r n a l t h r e s h o l d r e g i s t e r t h a t i s u s e d t o c o n t r o l t h e f r e q u e n c y a t w h i c h t h e e x t e r n a l x w a t t h r r e g i s t e r s a r e u p d a t e d . t h e w t h r 1 a n d w t h r 0 r e g i s t e r s a f f e c t a l l s i x a c t i v e e n e r g y m e a s u r e m e n t s . f o r s t a n d a r d o p e r a t i o n , t h e w t h r 1 r e g i - s t e r s h o u l d b e s e t t o 0 x 2 a n d t h e w t h r 0 r e g i s t e r s e t t o 0 x 0 . t h u s , t h e u p d a t e r a t e o f t h e x w a t t h r r e g i s t e r s i s s e t t o s l i g h t l y b e l o w t h e m a x i m u m o f 8 k h z w i t h f u l l - s c a l e i n p u t s . i f t h e r a t e a t w h i c h e n e r g y i s a c c u m u l a t e d i n t h e x w a t t h r r e g i s t e r s m u s t b e r e d u c e d , t h e w t h r 1 a n d w t h r 0 r e g i s t e r s c a n b e m o d i f i e d . t h r e s h o l d = 0 x 2 0 0 0 0 0 0 ( k h z ) k h z 8 r a t e u p d a t e r e q u i r e d ( 2 ) n o t e t h a t t h e m a x i m u m o u t p u t w i t h f u l l s c a l e i n p u t s i s 8 k h z . d o n o t a d j u s t t h e t h r e s h o l d t o t r y t o p r o d u c e m o r e t h a n 8 k h z . s u c h a n a d j u s t m e n t m a y r e s u l t i n s a t u r a t i o n o f t h e o u t p u t f r e q u e n c y a n d , t h e r e f o r e , a l o s s o f a c c u r a c y . t h e s e c o n d s t a g e o f t h e a c c u m u l a t i o n o c c u r s i n t h e e x t e r n a l r e g i s t e r s , x w a t t h r . w i t h t h e r e c o m m e n d e d v a l u e s p r o v i d e d i n e q u a t i o n 2 , t h e e n e r g y u p d a t e s a t a r a t e o f 8 k h z w i t h f u l l - s c a l e i n p u t s ( s e e f i g u r e 2 8 ) . e n e r g y a c c u m u l a t i o n a n d r e g i s t e r r o l l - o v e r a s s h o w n i n e q u a t i o n 2 , t h e a c t i v e e n e r g y a c c u m u l a t e s a t a m a x i - m u m r a t e o f 8 k h z w i t h f u l l - s c a l e i n p u t s . t h e m a x i m u m p o s i t i v e v a l u e t h a t t h e 3 2 - b i t , s i g n e d x w a t t h r r e g i s t e r s c a n s t o r e b e f o r e t h e y o v e r f l o w i s 0 x 7 f f f f f f f . a s s u m i n g s t e a d y a c c u m u l a t i o n w i t h f u l l - s c a l e i n p u t s , t h e a c c u m u l a t i o n t i m e i s t i m e = 0 x 7 f f f f f f f 1 2 5  s = 7 4 h r , 3 3 m i n , 5 5 s e c v g a i n h p f i a g a i n d i g i t a l i n t e g r a t o r h p f v a i a a w g a i n a w a t t o s p c f _ a _ c o e f f a c c u m u l a t o r w t h r [ 4 7 : 0 ] a w a t t h r [ 3 1 : 0 ] 3 2 - b i t r e g i s t e r l p f 1 0 3 9 0 - 0 1 3 f i g u r e 2 8 . a c t i v e e n e r g y s i g n a l p a t h
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 2 1 o f 4 8 t h e c o n t e n t o f t h e a c t i v e e n e r g y r e g i s t e r o v e r f l o w s f r o m f u l l - s c a l e p o s i t i v e ( 0 x 7 f f f f f f f ) t o f u l l - s c a l e n e g a t i v e ( 0 x 8 0 0 0 0 0 0 0 ) a n d c o n t i n u e s t o i n c r e a s e i n v a l u e w h e n t h e a c t i v e p o w e r i s p o s i t i v e . c o n v e r s e l y , i f t h e a c t i v e p o w e r i s n e g a t i v e , t h e e n e r g y r e g i s t e r u n d e r f l o w s f r o m f u l l - s c a l e n e g a t i v e ( 0 x 8 0 0 0 0 0 0 0 ) t o f u l l - s c a l e p o s i t i v e ( 0 x 7 f f f f f f f ) a n d c o n t i n u e s d e c r e a s i n g i n v a l u e . b i t 0 ( a e h f 1 ) i n t h e s t a t u s 0 r e g i s t e r ( a d d r e s s 0 x e 5 0 2 ) i s s e t w h e n b i t 3 0 i n t h e a w a t t h r , b w a t t h r , o r c w a t t h r r e g i s t e r c h a n g e s , s i g n i f y i n g t h a t o n e o f t h e s e r e g i s t e r s i s h a l f f u l l . s i m i - l a r l y , b i t 1 ( a e h f 2 ) i n t h e s t a t u s 0 r e g i s t e r i s s e t w h e n b i t 3 0 i n t h e d w a t t h r , e w a t t h r , o r f w a t t h r r e g i s t e r c h a n g e s , s i g n i f y i n g t h a t o n e o f t h e s e r e g i s t e r s i s h a l f f u l l . s e t t i n g b i t 6 ( r s t r e a d ) i n t h e l c y c m o d e r e g i s t e r ( a d d r e s s 0 x e 7 0 2 ) e n a b l e s a r e a d - w i t h - r e s e t f o r a l l w a t t - h o u r a c c u m u l a t i o n r e g i s t e r s . w h e n t h i s b i t i s s e t , a l l e n e r g y a c c u - m u l a t i o n r e g i s t e r s a r e s e t t o 0 f o l l o w i n g a r e a d o p e r a t i o n . r e a c t i v e e n e r g y m e a s u r e m e n t d e f i n i t i o n o f r e a c t i v e p o w e r a n d r e a c t i v e e n e r g y r e a c t i v e p o w e r i s t h e p r o d u c t o f t h e v o l t a g e a n d c u r r e n t w h e n a l l h a r m o n i c c o m p o n e n t s o f o n e o f t h e s e s i g n a l s a r e p h a s e s h i f t e d b y 9 0 . r e a c t i v e p o w e r i s t h e p o w e r d i s s i p a t e d i n a n i n d u c - t i v e o r c a p a c i t i v e l o a d a n d i s m e a s u r e d a s v o l t - a m p e r e r e a c t i v e ( v a r ) . r e a c t i v e e n e r g y i s t h e a c c u m u l a t i o n o f r e a c t i v e p o w e r o v e r t i m e . r p = 3 n t d t t r p n t 0 1 = v i s i n (  ) ( 3 ) w h e r e : v i s t h e r m s v o l t a g e . i i s t h e r m s c u r r e n t . r p i s t h e r e a c t i v e o r r e a l p o w e r . t i s t h e l i n e c y c l e p e r i o d . r e a c t i v e e n e r g y r e g i s t e r s t h e a d e 7 8 1 6 h a s s i x r e a c t i v e e n e r g y r e g i s t e r s t h a t a c c u m u l a t e a c t i v e e n e r g y f o r e a c h o f t h e s i x c h a n n e l s s e p a r a t e l y : a v a r h r ( a d d r e s s 0 x e 4 0 6 ) , b v a r h r ( a d d r e s s 0 x e 4 0 7 ) , c v a r h r ( a d d r e s s 0 x e 4 0 8 ) , d v a r h r ( a d d r e s s 0 x e 4 0 9 ) , e v a r h r ( a d d r e s s 0 x e 4 0 a ) , a n d f v a r h r ( a d d r e s s 0 x e 4 0 b ) . a l l r e a c t i v e e n e r g y r e g i s t e r s a r e i n 3 2 - b i t , s i g n e d f o r m a t . t h e a d e 7 8 1 6 a c c u m u l a t e s b o t h p o s i t i v e a n d n e g a t i v e r e a c t i v e p o w e r . n e g a t i v e r e a c t i v e p o w e r i n d i c a t e s t h a t t h e c u r r e n t i s l e a d i n g t h e v o l t a g e b y u p t o 1 8 0 . t h e a d e 7 8 1 6 p r o v i d e s a s i g n e d a c c u m u l a t i o n o f t h e p o w e r , w h e r e p o s i t i v e p o w e r i s a d d e d a n d n e g a t i v e i s s u b t r a c t e d . r e a c t i v e e n e r g y t h r e s h o l d t h e a d e 7 8 1 6 a c c u m u l a t e s e n e r g y i n t w o s t e p s . t h e f i r s t i s d o n e i n t e r n a l l y u s i n g t h e t h r e s h o l d r e g i s t e r s , v a r t h r 1 ( a d d r e s s 0 x 4 3 a d ) a n d v a r t h r 0 ( a d d r e s s 0 x 4 3 a e ) . t h e s e r e g i s t e r s m a k e u p t h e m o s t s i g n i f i c a n t a n d l e a s t s i g n i f i c a n t 2 4 b i t s , r e s p e c t i v e l y , o f a n i n t e r n a l t h r e s h o l d r e g i s t e r t h a t i s u s e d t o c o n t r o l t h e f r e q u e n c y a t w h i c h t h e e x t e r n a l x v a r h r r e g i s t e r s a r e u p d a t e d . t h e v a r t h r 1 a n d v a r t h r 0 r e g i s t e r s a f f e c t a l l s i x r e a c t i v e e n e r g y m e a s u r e m e n t s . f o r s t a n d a r d o p e r a t i o n , t h e v a r t h r 1 r e g i s t e r s h o u l d b e s e t t o 0 x 2 a n d t h e v a r t h r 0 r e g i s t e r s e t t o 0 x 0 . t h i s s e t s t h e u p d a t e r a t e o f t h e x v a r h r r e g i s t e r s t o t h e m a x i m u m o f 8 k h z w i t h f u l l - s c a l e i n p u t s . i f t h e r a t e a t w h i c h e n e r g y i s a c c u m u l a t e d i n t h e x v a r h r r e g i s t e r s m u s t b e r e d u c e d , v a r t h r 1 a n d v a r t h r 0 c a n b e m o d i f i e d a s f o l l o w s : t h r e s h o l d = 0 x 2 0 0 0 0 0 0 ( k h z ) k h z 8 r a t e u p d a t e r e q u i r e d ( 4 ) n o t e t h a t t h e m a x i m u m o u t p u t w i t h f u l l s c a l e i n p u t s i s 8 k h z . t h e t h r e s h o l d s h o u l d n o t b e a d j u s t e d t o t r y t o p r o d u c e m o r e t h a n 8 k h z . s u c h a n a d j u s t m e n t c o u l d r e s u l t i n s a t u r a t i o n o f t h e o u t p u t f r e q u e n c y a n d , t h e r e f o r e , a l o s s o f a c c u r a c y . t h e s e c o n d s t a g e o f t h e a c c u m u l a t i o n i s d o n e i n t h e e x t e r n a l r e g i s t e r s , x v a r h r . w i t h t h e r e c o m m e n d e d v a l u e s p r o v i d e d i n e q u a t i o n 4 , t h e r e a c t i v e e n e r g y u p d a t e s a t a r a t e o f 8 k h z w i t h f u l l - s c a l e i n p u t s ( s e e f i g u r e 2 9 ) . r e a c t i v e e n e r g y a c c u m u l a t i o n a n d r e g i s t e r r o l l - o v e r t h e r e a c t i v e e n e r g y a c c u m u l a t e s a t a m a x i m u m r a t e o f 8 k h z w i t h f u l l - s c a l e i n p u t s . t h e m a x i m u m p o s i t i v e v a l u e t h a t t h e 3 2 - b i t , s i g n e d x v a r h r r e g i s t e r s c a n s t o r e b e f o r e t h e y o v e r f l o w i s 0 x 7 f f f f f f f . a s s u m i n g s t e a d y a c c u m u l a t i o n w i t h f u l l - s c a l e r e a c t i v e e n e r g y i n p u t s , t h e a c c u m u l a t i o n t i m e i s t i m e = 0 x 7 f f f f f f f 1 2 5  s = 7 4 h r , 3 3 m i n , 5 5 s e c c o n v e r s e l y , i f t h e r e a c t i v e p o w e r i s n e g a t i v e , t h e e n e r g y r e g i s t e r u n d e r f l o w s f r o m f u l l - s c a l e n e g a t i v e ( 0 x 8 0 0 0 0 0 0 0 ) t o f u l l - s c a l e p o s i t i v e ( 0 x 7 f f f f f f f ) a n d c o n t i n u e s d e c r e a s i n g i n v a l u e . b i t 2 ( r e h f 1 ) i n t h e s t a t u s 0 r e g i s t e r i s s e t w h e n b i t 3 0 o f t h e a v a r h r , b v a r h r , o r c v a r h r r e g i s t e r c h a n g e s , s i g n i f y i n g t h a t o n e o f t h e s e r e g i s t e r s i s h a l f f u l l . s i m i l a r l y , b i t 3 ( r e h f 2 ) i n t h e s t a t u s 0 r e g i s t e r i s s e t w h e n b i t 3 0 o f t h e d v a r h r , e v a r h r , o r f v a r h r r e g i s t e r c h a n g e s , s i g n i f y i n g t h a t o n e o f t h e s e r e g i s t e r s i s h a l f f u l l . v g a i n h p f i a g a i n d i g i t a l i n t e g r a t o r h p f v a i a p c f _ a _ c o e f f a v a r g a i n a v a r o s a c c u m u l a t o r v a r t h r [ 4 7 : 0 ] a v a r h r [ 3 1 : 0 ] 3 2 - b i t r e g i s t e r t o t a l r e a c t i v e p o w e r a l g o r i t h m 1 0 3 9 0 - 0 1 4 f i g u r e 2 9 . r e a c t i v e e n e r g y s i g n a l p a t h
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 2 2 o f 4 8 t h e r e a c t i v e e n e r g y r e g i s t e r c o n t e n t o v e r f l o w s f r o m f u l l - s c a l e p o s i t i v e ( 0 x 7 f f f f f f f ) t o f u l l - s c a l e n e g a t i v e ( 0 x 8 0 0 0 0 0 0 0 ) a n d c o n t i n u e s t o i n c r e a s e i n v a l u e w h e n t h e r e a c t i v e p o w e r i s p o s i t i v e . s e t t i n g b i t 6 ( r s t r e a d ) o f t h e l c y c m o d e ( a d d r e s s 0 x e 7 0 2 ) r e g i s t e r e n a b l e s a r e a d - w i t h - r e s e t f o r a l l r e a c t i v e e n e r g y a c c u - m u l a t i o n r e g i s t e r s . w h e n t h i s b i t i s s e t , a l l e n e r g y a c c u m u l a t i o n r e g i s t e r s a r e s e t t o 0 f o l l o w i n g a r e a d o p e r a t i o n . l i n e c y c l e a c c u m u l a t i o n m o d e i n t h e a c t i v e a n d r e a c t i v e l i n e c y c l e a c c u m u l a t i o n m o d e , t h e e n e r g y a c c u m u l a t i o n o f t h e a d e 7 8 1 6 i s s y n c h r o n i z e d t o t h e v o l t a g e c h a n n e l z e r o c r o s s i n g , s o t h a t t h e a c t i v e a n d r e a c t i v e e n e r g y c a n b e a c c u m u l a t e d o v e r a n i n t e g r a l n u m b e r o f h a l f l i n e c y c l e s . t h i s f e a t u r e i s a v a i l a b l e f o r t h e a c t i v e a n d r e a c t i v e e n e r g y a c c u m u l a t i o n o n a l l s i x c h a n n e l s . t h e a d v a n t a g e o f s u m m i n g t h e a c t i v e a n d r e a c t i v e e n e r g y o v e r a n i n t e g r a l n u m b e r o f h a l f l i n e c y c l e s i s t h a t t h e s i n u s o i d a l c o m p o n e n t o f t h e e n e r g y i s r e d u c e d t o 0 . t h i s e l i m i n a t e s a n y r i p p l e i n t h e e n e r g y c a l c u l a t i o n . a c c u r a t e e n e r g y i s c a l c u l a t e d i n a s h o r t e r t i m e b e c a u s e t h e i n t e g r a t i o n p e r i o d c a n b e s h o r t e n e d . t h e l i n e c y c l e a c c u m u l a t i o n m o d e c a n b e u s e d f o r f a s t c a l i b r a t i o n a n d t o o b t a i n t h e a v e r a g e p o w e r o v e r a s p e c i f i e d t i m e p e r i o d . f i g u r e 3 0 s h o w s a d i a g r a m o f t h e a c t i v e e n e r g y l i n e c y c l e a c c u m u l a t i o n m o d e s i g n a l p a t h . a c t i v e a n d r e a c t i v e e n e r g y l i n e c y c l e a c c u m u l a t i o n m o d e s a r e d i s a b l e d b y d e f a u l t a n d c a n b e e n a b l e d o n a l l s i x c h a n n e l s b y s e t t i n g b i t 0 ( l w a t t ) a n d b i t 1 ( l v a r ) , r e s p e c t i v e l y , i n t h e l c y c m o d e r e g i s t e r . b i t 3 ( z x _ s e l ) o f t h e l c y c m o d e r e g i s t e r m u s t a l s o b e s e t t o e n a b l e t h e v o l t a g e c h a n n e l z e r o - c r o s s i n g c o u n t e r t o b e u s e d i n t h e l i n e c y c l e a c c u m u l a t i o n m e a s u r e m e n t . t h e a c c u m u l a t i o n t i m e s h o u l d b e w r i t t e n t o t h e l i n e c y c r e g i s t e r ( a d d r e s s 0 x e 6 0 c ) a s a n i n t e g e r n u m b e r o f h a l f l i n e c y c l e s . t h e a d e 7 8 1 6 c a n a c c u m u l a t e e n e r g y f o r u p t o 6 5 , 5 3 5 h a l f l i n e c y c l e s . t h i s e q u a t e s t o a n a c c u m u l a t i o n p e r i o d o f a p p r o x i m a t e l y 6 5 5 s e c w i t h 5 0 h z i n p u t s , a n d 5 4 6 s e c w i t h 6 0 h z i n p u t s . t h e n u m b e r o f h a l f l i n e c y c l e s w r i t t e n t o t h e l i n e c y c r e g i s t e r i s u s e d f o r t h e a c t i v e a n d r e a c t i v e l i n e c y c l e a c c u m u l a t i o n o n a l l s i x c h a n n e l s . a t t h e e n d o f a l i n e c y c l e a c c u m u l a t i o n p e r i o d , t h e x w a t t h r a n d x v a r h r r e g i s t e r s a r e u p d a t e d a n d t h e l e n e r g y f l a g i s s e t i n t h e s t a t u s 0 r e g i s t e r ( a d d r e s s 0 x e 5 0 2 ) . i f t h e l e n e r g y b i t i n t h e m a s k 0 r e g i s t e r ( a d d r e s s 0 x e 5 0 a ) i s s e t , a n e x t e r n a l i n t e r r u p t i s i s s u e d o n t h e i r q 0 p i n . a n o t h e r a c c u - m u l a t i o n c y c l e b e g i n s i m m e d i a t e l y , a s l o n g a s t h e l w a t t a n d l v a r b i t s i n t h e l c y c m o d e r e g i s t e r r e m a i n s e t . t h e c o n t e n t s o f t h e x w a t t h r a n d x v a r h r r e g i s t e r s a r e u p d a t e d s y n c h r o n o u s t o t h e l e n e r g y f l a g . t h e x w a t t h r a n d x v a r h r r e g i s t e r s h o l d t h e i r c u r r e n t v a l u e s u n t i l t h e e n d o f t h e n e x t l i n e c y c l e p e r i o d , w h e n t h e c o n t e n t s a r e r e p l a c e d w i t h t h e n e w r e a d i n g ( s e e f i g u r e 3 0 a n d f i g u r e 3 1 ) . w h e n u s i n g t h e l i n e c y c l e a c c u - m u l a t i o n m o d e , b i t 6 ( r s t r e a d ) o f t h e l c y c m o d e r e g i s t e r s h o u l d b e s e t t o l o g i c 0 b e c a u s e t h e r e a d - w i t h - r e s e t f u n c t i o n o f t h e e n e r g y r e g i s t e r s i s n o t a v a i l a b l e i n t h i s m o d e . n o t e t h a t , w h e n l i n e c y c l e a c c u m u l a t i o n m o d e i s f i r s t e n a b l e d , t h e r e a d i n g a f t e r t h e f i r s t l e n e r g y f l a g s h o u l d b e i g n o r e d b e c a u s e i t m a y b e i n a c c u r a t e . t h i s i n a c c u r a c y i s d u e t o t h e l i n e c y c l e a c c u m u l a t i o n m o d e n o t b e i n g s y n c h r o n i z e d t o t h e z e r o c r o s s i n g . a s a r e s u l t , t h e f i r s t r e a d i n g m a y n o t b e t a k e n o v e r a c o m p l e t e n u m b e r o f h a l f l i n e c y c l e s . a f t e r t h e f i r s t l i n e c y c l e a c c u m u l a t i o n i s c o m p l e t e d , a l l s u c c e s s i v e r e a d i n g s a r e c o r r e c t . x w g a i n i n t e r n a l a c c u m u l a t i o n w t h r [ 4 8 : 0 ] x w a t t o s 2 3 x w a t t h r 0 l p f _ z x o u t p u t f r o m v o l t a g e c h a n n e l a d c o u t p u t f r o m l p f z e r o - c r o s s i n g d e t e c t i o n c a l i b r a t i o n c o n t r o l 1 5 0 l i n e c y c + + 4 8 0 1 0 3 9 0 - 0 1 5 f i g u r e 3 0 . l i n e c y c l e a c c u m u l a t i o n f o r x w a t t h r x v a r g a i n i n t e r n a l a c c u m u l a t i o n v a r t h r [ 4 8 : 0 ] x v a r o s 2 3 x v a r h r 0 l p f _ z x o u t p u t f r o m v o l t a g e c h a n n e l a d c o u t p u t f r o m r e a c t i v e p o w e r a l g o r i t h m z e r o - c r o s s i n g d e t e c t i o n c a l i b r a t i o n c o n t r o l 1 5 0 l i n e c y c + + 4 8 0 1 0 3 9 0 - 2 0 0 f i g u r e 3 1 . l i n e c y c l e a c c u m u l a t i o n f o r x v a r h r
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 2 3 o f 4 8 r o o t m e a n s q u a r e m e a s u r e m e n t r o o t m e a n s q u a r e ( r m s ) i s a m e a s u r e m e n t o f t h e m a g n i t u d e o f a n a c s i g n a l . s p e c i f i c a l l y , t h e r m s o f a n a c s i g n a l i s e q u a l t o t h e a m o u n t o f d c r e q u i r e d t o p r o d u c e a n e q u i v a l e n t a m o u n t o f p o w e r i n t h e l o a d . t h e a d e 7 8 1 6 p r o v i d e s r m s m e a s u r e m e n t s o n t h e s i x c u r r e n t c h a n n e l s a n d t h e v o l t a g e c h a n n e l s i m u l t a n e o u s l y . t h e s e m e a s u r e m e n t s h a v e a s e t t l i n g t i m e o f a p p r o x i m a t e l y 4 4 0 m s w i t h t h e i n t e g r a t o r o f f a n d 5 0 0 m s w i t h t h e i n t e g r a t o r o n . t h e r e g i s t e r s a r e u p d a t e d e v e r y 1 2 5 s . t h e r m s v a l u e i s m e a s u r e d o v e r a 2 k h z b a n d w i d t h . t h e 2 4 - b i t , u n s i g n e d v o l t a g e r m s m e a s u r e m e n t i s a v a i l a b l e i n t h e v r m s r e g i s t e r ( a d d r e s s 0 x 4 3 c 0 ) . s i m i l a r l y , t h e s i x c u r r e n t c h a n n e l r m s m e a s u r e m e n t s a r e a v a i l a b l e i n t h e i a r m s ( a d d r e s s 0 x 4 3 c 1 ) , i b r m s ( a d d r e s s 0 x 4 3 c 2 ) , i c r m s ( a d d r e s s 0 x 4 3 c 3 ) , i d r m s ( a d d r e s s 0 x 4 3 c 4 ) , i e r m s ( 0 x 4 3 c 5 ) , a n d i f r m s ( a d d r e s s 0 x 4 3 c 6 ) r e g i s t e r s . a l l r e g i s t e r s a r e u p d a t e d a t a r a t e o f 8 k h z . f i g u r e 3 2 s h o w s t h e i x r m s s i g n a l p a t h . a s i m i l a r s i g n a l p a t h i s u s e d o n t h e v o l t a g e c h a n n e l t o c o m p u t e t h e v r m s m e a s u r e m e n t . d u e t o n o n i d e a l i t i e s i n t h e i n t e r n a l f i l t e r i n g , i t i s r e c o m m e n d e d t h a t t h e i x r m s r e g i s t e r s b e r e a d s y n c h r o n o u s l y t o t h e z e r o - c r o s s i n g s i g n a l ( s e e t h e z e r o - c r o s s i n g d e t e c t i o n s e c t i o n ) . t h i s h e l p s t o s t a b i l i z e r e a d i n g - t o - r e a d i n g v a r i a t i o n b y r e m o v i n g t h e e f f e c t o f a n y 2  r i p p l e t h a t i s p r e s e n t o n t h e r m s m e a s u r e m e n t . w i t h t h e s p e c i f i e d f u l l - s c a l e a n a l o g i n p u t s i g n a l o f 0 . 5 v , t h e r m s v a l u e o f a s i n u s o i d a l s i g n a l i s 4 , 1 9 1 , 9 1 0 ( 0 x 3 f f 6 a 6 ) , i n d e p e n d e n t o f l i n e f r e q u e n c y . i f t h e i n t e g r a t o r i s e n a b l e d o n t h e c u r r e n t c h a n n e l s , t h e e q u i v a l e n t c u r r e n t r m s v a l u e o f a f u l l - s c a l e s i n u s o i d a l s i g n a l a t 5 0 h z i s 4 , 1 9 1 , 9 1 0 ( 0 x 3 f f 6 a 6 ) . a t 6 0 h z , i t i s 3 , 4 9 3 , 2 5 8 ( 0 x 3 5 4 d 8 a ) . n o l o a d d e t e c t i o n t h e a d e 7 8 1 6 i n c l u d e s a n o l o a d d e t e c t i o n f e a t u r e t h a t e l i m i n a t e s m e t e r c r e e p . m e t e r c r e e p i s d e f i n e d a s e x c e s s e n e r g y t h a t i s a c c u m u l a t e d b y t h e m e t e r w h e n t h e r e i s n o l o a d a t t a c h e d . t h e a d e 7 8 1 6 w a r n s o f t h i s c o n d i t i o n a n d s t o p s e n e r g y a c c u m u l a t i o n i f t h e e n e r g y f a l l s b e l o w a p r o g r a m m a b l e t h r e s h o l d . t h e a d e 7 8 1 6 i n c l u d e s a n o l o a d f e a t u r e o n t h e a c t i v e a n d r e a c t i v e e n e r g y m e a s u r e m e n t s . t h i s a l l o w s a t r u e n o l o a d c o n d i t i o n t o b e d e t e c t e d . t h e n o l o a d c o n d i t i o n i s t r i g g e r e d w h e n t h e a b s o l u t e v a l u e s o f t h e a c t i v e a n d r e a c t i v e p o w e r s a r e l e s s t h a n o r e q u a l t o a t h r e s h - o l d t h a t i s s p e c i f i e d i n t h e a p n o l o a d ( a d d r e s s 0 x 4 3 a f ) a n d v a r n o l o a d ( a d d r e s s 0 x 4 3 b 0 ) r e g i s t e r s . w h e n i n t h e n o l o a d c o n d i t i o n , t h e a c t i v e a n d r e a c t i v e e n e r g i e s a r e n o l o n g e r a c c u m u l a t e d i n t h e e n e r g y r e g i s t e r s . n o t e t h a t e a c h o f t h e s i x c h a n n e l s h a s a s e p a r a t e n o l o a d c i r c u i t . s e t t i n g t h e n o l o a d t h r e s h o l d s t h e a p n o l o a d a n d v a r n o l o a d r e g i s t e r s a r e c o m p a r e d t o t h e a c t i v e a n d r e a c t i v e p o w e r s , r e s p e c t i v e l y , t o s e t t h e n o l o a d t h r e s h o l d . w i t h f u l l - s c a l e i n p u t s o n b o t h t h e c u r r e n t a n d v o l t a g e c h a n n e l , t h e m a x i m u m p o w e r i s 0 x 1 f f 6 a 6 b . t h e n o l o a d t h r e s h o l d s h o u l d , t h e r e f o r e , b e s e t w i t h r e s p e c t t o t h i s m a x i - m u m p o w e r , a s f o l l o w s : a p n o l o a d = ( 5 ) 0 x 1 f f 6 a 6 b v % o f f u l l _ s c a l e i ( n o l o a d ) % o f f u l l _ s c a l e f o r e x a m p l e , i f t h e n o m i n a l v o l t a g e i s s e t t o 5 0 % o f f u l l s c a l e a n d t h e c u r r e n t c h a n n e l n o l o a d t h r e s h o l d i s r e q u i r e d t o b e a t 0 . 0 1 % o f f u l l s c a l e , t h e a p n o l o a d t h r e s h o l d i s a p n o l o a d = 0 x 1 f f 6 a 6 b 5 0 % 0 . 0 1 % = 0 x 6 8 c ( 6 ) t h e v a r n o l o a d r e g i s t e r i s u s u a l l y s e t t o t h e s a m e v a l u e a s t h a t o f t h e a p n o l o a d r e g i s t e r . w h e n t h e a p n o l o a d a n d v a r n o l o a d r e g i s t e r s a r e s e t t o n e g a t i v e v a l u e s , t h e n o l o a d d e t e c t i o n c i r c u i t i s d i s a b l e d . b i t 0 ( n l o a d 1 ) i n t h e s t a t u s 1 r e g i s t e r ( a d d r e s s 0 x e 5 0 3 ) i s s e t w h e n t h e n o l o a d c o n d i t i o n o c c u r s o n t h e a , b , o r c c u r r e n t c h a n - n e l . b i t 1 ( n l o a d 2 ) i n t h e s t a t u s 1 r e g i s t e r i s s e t w h e n t h e l o a d c o n d i t i o n o c c u r s o n t h e d , e , o r f c u r r e n t c h a n n e l . b i t s [ 5 : 0 ] ( n o l o a d x ) i n t h e c h n o l o a d r e g i s t e r ( a d d r e s s 0 x e 6 0 8 ) c a n b e u s e d t o d e t e r m i n e w h i c h c h a n n e l c a u s e d t h e n o l o a d c o n d i t i o n . w h e n n o l o a d x i s c l e a r e d t o 0 , t h e c h a n n e l i s n o t i n a n o l o a d c o n d i t i o n . w h e n n o l o a d x i s s e t t o 1 , t h e c h a n n e l i s i n a n o l o a d c o n d i t i o n . n o l o a d i n t e r r u p t t h e a d e 7 8 1 6 i n c l u d e s t w o i n t e r r u p t s t h a t a r e a s s o c i a t e d w i t h t h e n o l o a d f e a t u r e . t h e f i r s t i s a s s o c i a t e d w i t h t h e a , b , a n d c c u r r e n t c h a n n e l s , a n d i t c a n b e e n a b l e d b y s e t t i n g b i t 0 ( n l o a d 1 ) i n t h e m a s k 1 r e g i s t e r ( a d d r e s s 0 x e 5 0 b ) . t h e s e c o n d i n t e r r u p t i s a s s o c i a t e d w i t h t h e d , e , a n d f c u r r e n t c h a n n e l s ; i t c a n b e e n a b l e d b y s e t t i n g b i t 1 ( n l o a d 2 ) i n t h e m a s k 1 r e g i s t e r . i f t h e c o r r e s p o n d i n g i n t e r r u p t i s e n a b l e d , t h e n o l o a d c o n d i t i o n c a u s e s t h e e x t e r n a l i r q 1 p i n t o g o l o w ( s e e t h e i n t e r r u p t s s e c t i o n ) . c u r r e n t s i g n a l f r o m h p f o r i n t e g r a t o r ( i f e n a b l e d ) l p f x 2 2 7 i x r m s o s [ 2 3 : 0 ] i x r m s [ 2 3 : 0 ] 1 0 3 9 0 - 0 1 6 f i g u r e 3 2 . i x r m s s i g n a l p a t h
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 2 4 o f 4 8 e n e r g y c a l i b r a t i o n c h a n n e l m a t c h i n g t h e a d e 7 8 1 6 p r o v i d e s i n d i v i d u a l c h a n n e l g a i n r e g i s t e r s t h a t a l l o w t h e s i x c u r r e n t c h a n n e l s a n d t h e v o l t a g e c h a n n e l t o b e m a t c h e d . m a t c h i n g t h e c h a n n e l s s i m p l i f i e s t h e c a l i b r a t i o n p r o c e s s . t h e i a g a i n ( a d d r e s s 0 x 4 3 8 1 ) , i b g a i n ( a d d r e s s 0 x 4 3 8 2 ) , i c g a i n ( a d d r e s s 0 x 4 3 8 3 ) , i d g a i n ( a d d r e s s 0 x 4 3 8 4 ) , i e g a i n ( a d d r e s s 0 x 4 3 8 5 ) , a n d i f g a i n ( a d d r e s s 0 x 4 3 8 6 ) r e g i s t e r s a d j u s t t h e a t h r o u g h f c u r r e n t c h a n n e l s , r e s p e c t i v e l y , w h e r e a s t h e v g a i n r e g i s t e r ( a d d r e s s 0 x 4 3 8 0 ) c a n b e u s e d t o a d j u s t t h e v o l t a g e c h a n n e l . t h e d e f a u l t v a l u e o f t h e i x g a i n r e g i s t e r s i s 0 x 0 0 0 0 0 , w h i c h c o r r e s p o n d s t o n o c h a n n e l g a i n . t h e i x g a i n c a n a d j u s t t h e c h a n n e l g a i n b y u p t o 1 0 0 % . t h e c h a n n e l i s s c a l e d b y  5 0 % b y w r i t i n g 0 x c 0 0 0 0 0 t o t h e c o r r e s p o n d i n g i x g a i n r e g i s t e r , a n d i t i s i n c r e a s e d b y + 5 0 % b y w r i t i n g 0 x 4 0 0 0 0 0 . e q u a t i o n 7 s h o w s t h e r e l a t i o n s h i p b e t w e e n t h e i x g a i n r e g i s t e r a n d t h e r m s m e a s u r e m e n t . i r m s = i r m s 0 ?1 ?  2 3 2 1 i x g a i n ( 7 ) v r m s = v r m s 0 ?1 ?  2 3 2 1 v g a i n w h e r e i r m s 0 a n d v r m s 0 a r e t h e c u r r e n t a n d v o l t a g e r m s m e a s u r e m e n t s , r e s p e c t i v e l y , w i t h o u t o f f s e t c o r r e c t i o n . c h a n g i n g t h e c o n t e n t o f t h e i x g a i n r e g i s t e r s a f f e c t s a l l c a l c u - l a t i o n s b a s e d o f f t h a t c h a n n e l , i n c l u d i n g t h e a c t i v e a n d r e a c t i v e e n e r g y . t h e r e f o r e , i t i s r e c o m m e n d e d t h a t t h e c h a n n e l m a t c h i n g b e p e r f o r m e d f i r s t i n t h e c a l i b r a t i o n p r o c e d u r e . e n e r g y g a i n c a l i b r a t i o n t h e a c t i v e a n d r e a c t i v e e n e r g y m e a s u r e m e n t s c a n b e c a l i b r a t e d o n a l l s i x c h a n n e l s s e p a r a t e l y . t h i s s e p a r a t e c a l i b r a t i o n a l l o w s c o m p e n s a t i o n f o r m e t e r - t o - m e t e r g a i n v a r i a t i o n . t h e a w g a i n r e g i s t e r ( a d d r e s s 0 x 4 3 9 1 ) c o n t r o l s t h e a c t i v e p o w e r g a i n c a l i b r a t i o n o n c u r r e n t c h a n n e l a . t h e b w g a i n ( a d d r e s s 0 x 4 3 9 3 ) , c w g a i n ( a d d r e s s 0 x 4 3 9 5 ) , d w g a i n ( a d d r e s s 0 x 4 3 9 7 ) , e w g a i n ( a d d r e s s 0 x 4 3 9 9 ) , a n d f w g a i n ( a d d r e s s 0 x 4 3 9 b ) r e g i s t e r s c o n t r o l t h e a c t i v e p o w e r g a i n c a l i b r a - t i o n o n t h e b t h r o u g h f c u r r e n t c h a n n e l s , r e s p e c t i v e l y . t h e d e f a u l t v a l u e o f t h e x w g a i n r e g i s t e r s i s 0 x 0 0 0 0 0 , w h i c h c o r r e s p o n d s t o n o g a i n c a l i b r a t i o n . t h e x w g a i n r e g i s t e r s c a n a d j u s t t h e a c t i v e p o w e r b y u p t o 1 0 0 % . t h e o u t p u t i s s c a l e d b y  5 0 % b y w r i t i n g 0 x c 0 0 0 0 0 t o t h e w a t t g a i n r e g i s t e r s , a n d i t i s i n c r e a s e d b y + 5 0 % b y w r i t i n g 0 x 4 0 0 0 0 0 t o t h e m . e q u a t i o n 8 s h o w s t h e r e l a t i o n s h i p b e t w e e n t h e g a i n a d j u s t m e n t a n d t h e x w g a i n r e g i s t e r s . a c t i v e p o w e r = a c t i v e p o w e r 0 ?1 ?  1 8 0 0 0 0 0 x 0 x w g a i n ( 8 ) s i m i l a r g a i n c a l i b r a t i o n r e g i s t e r s a r e a v a i l a b l e f o r t h e r e a c t i v e p o w e r . t h e r e a c t i v e p o w e r o n c u r r e n t c h a n n e l a c a n b e g a i n c a l i b r a t e d u s i n g t h e a v a r g a i n ( a d d r e s s 0 x 4 3 9 d ) r e g i s t e r . t h e b v a r g a i n ( a d d r e s s 0 x 4 3 9 f ) , c v a r g a i n ( a d d r e s s 0 x 4 3 a 1 ) , d v a r g a i n ( a d d r e s s 0 x 4 3 a 3 ) , e v a r g a i n ( a d d r e s s 0 x 4 3 a 5 ) , a n d f v a r g a i n ( a d d r e s s 0 x 4 3 a 7 ) r e g i s t e r s c o n t r o l t h e r e a c t i v e p o w e r g a i n c a l i b r a t i o n o n t h e b t h r o u g h f c u r r e n t c h a n n e l s , r e s p e c t i v e l y . t h e x v a r g a i n r e g i s t e r s a f f e c t t h e r e a c t i v e p o w e r i n t h e s a m e w a y t h a t t h e x w g a i n r e g i s t e r s a f f e c t t h e a c t i v e p o w e r . e q u a t i o n 9 s h o w s t h e r e l a t i o n s h i p b e t w e e n g a i n a d j u s t m e n t a n d t h e x v a r g a i n r e g i s t e r s . r e a c t i v e p o w e r = r e a c t i v e p o w e r 0 ?1 ?  1 8 0 0 0 0 0 x 0 x v a r g a i n ( 9 ) e n e r g y o f f s e t c a l i b r a t i o n t h e a d e 7 8 1 6 i n c l u d e s o f f s e t c a l i b r a t i o n r e g i s t e r s f o r t h e a c t i v e a n d r e a c t i v e p o w e r s o n a l l s i x c h a n n e l s . o f f s e t s c a n e x i s t i n t h e p o w e r c a l c u l a t i o n s d u e t o c r o s s t a l k b e t w e e n c h a n n e l s o n t h e p c b a n d i n t h e a d e 7 8 1 6 . t h e o f f s e t c a l i b r a t i o n a l l o w s t h e s e o f f s e t s t o b e r e m o v e d t o i n c r e a s e t h e a c c u r a c y o f t h e m e a s u r e - m e n t a t l o w i n p u t l e v e l s . t h e a c t i v e p o w e r o f f s e t c a n b e c o r r e c t e d o n c u r r e n t c h a n n e l a b y a d j u s t i n g t h e a w a t t o s ( a d d r e s s 0 x 4 3 9 2 ) r e g i s t e r . t h e b w a t t o s ( a d d r e s s 0 x 4 3 9 4 ) , c w a t t o s ( a d d r e s s 0 x 4 3 9 6 ) , d w a t t o s ( a d d r e s s 0 x 4 3 9 8 ) , e w a t t o s ( a d d r e s s 0 x 4 3 9 a ) , a n d f w a t t o s ( a d d r e s s 0 x 4 3 9 c ) r e g i s t e r s c o n t r o l t h e a c t i v e p o w e r o f f s e t c a l i b r a t i o n o n t h e b t h r o u g h f c u r r e n t c h a n n e l s , r e s p e c t i v e l y . t h e x w a t t o s r e g i s t e r s a r e 2 4 - b i t , s i g n e d , t w o s c o m p l e m e n t r e g i s t e r s w i t h d e f a u l t v a l u e s o f 0 . o n e l s b i n t h e a c t i v e p o w e r o f f s e t r e g i s t e r i s e q u i v a l e n t t o 1 l s b i n t h e a c t i v e p o w e r m u l t i p l i e r o u t p u t . w i t h f u l l - s c a l e c u r r e n t a n d v o l t a g e i n p u t s , t h e m a x i m u m p o w e r o u t p u t i s e q u a l t o 1 f f 6 a 6 b = 3 3 , 5 1 6 , 1 3 9 . a t  8 0 d b d o w n f r o m f u l l s c a l e ( a c t i v e p o w e r s c a l e d d o w n 1 0 4 t i m e s ) , o n e l s b o f t h e x w a t t o s r e g i s t e r s r e p r e s e n t s 0 . 0 2 9 8 % . e q u a t i o n 1 0 s h o w s t h e r e l a t i o n s h i p b e t w e e n t h e x w a t t o s r e g i s t e r s a n d t h e a c t i v e e n e r g y r e a d i n g . x w a t t h r = x w a t t h r 0 + ( 1 0 ) ?1 ? u u ) ( 8 0 0 0 s o n t i m e a c c u m u l a t i x w a t t o s w t h r s i m i l a r o f f s e t c a l i b r a t i o n r e g i s t e r s a r e a v a i l a b l e f o r t h e r e a c t i v e p o w e r . t h e r e a c t i v e p o w e r o n c u r r e n t c h a n n e l a c a n b e o f f s e t c a l i b r a t e d u s i n g t h e a v a r o s ( a d d r e s s 0 x 4 3 9 e ) . t h e b v a r o s ( a d d r e s s 0 x 4 3 a 0 ) , c v a r o s ( a d d r e s s 0 x 4 3 a 2 ) , d v a r o s ( a d d r e s s 0 x 4 3 a 4 ) , e v a r o s ( a d d r e s s 0 x 4 3 a 6 ) , a n d f v a r o s ( a d d r e s s 0 x 4 3 a 8 ) r e g i s t e r s c o n t r o l t h e r e a c t i v e p o w e r g a i n c a l i b r a t i o n o n t h e b t h r o u g h f c u r r e n t c h a n n e l s , r e s p e c t i v e l y . t h e x v a r o s r e g i s t e r s a f f e c t t h e r e a c t i v e p o w e r s i n t h e s a m e w a y t h a t t h e x w a t t o s r e g i s t e r s a f f e c t t h e a c t i v e p o w e r . e q u a t i o n 1 1 s h o w s t h e r e l a t i o n s h i p b e t w e e n t h e x v a r o s r e g i s t e r s a n d t h e r e a c t i v e e n e r g y r e a d i n g . x v a r h r = x v a r h r 0 + ( 1 1 ) ?1 ? u u ) ( 8 0 0 0 s o n t i m e a c c u m u l a t i x v a r o s v a r t h r
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 2 5 o f 4 8 e n e r g y p h a s e c a l i b r a t i o n t h e a d e 7 8 1 6 i s d e s i g n e d t o f u n c t i o n w i t h a v a r i e t y o f c u r r e n t t r a n s d u c e r s , i n c l u d i n g t h o s e t h a t i n d u c e i n h e r e n t p h a s e e r r o r s . a p h a s e e r r o r o f 0 . 1 t o 0 . 3 i s n o t u n c o m m o n f o r a c u r r e n t t r a n s f o r m e r ( c t ) . t h e s e p h a s e e r r o r s c a n v a r y f r o m p a r t t o p a r t , a n d t h e y m u s t b e c o r r e c t e d t o a c h i e v e a c c u r a t e p o w e r r e a d i n g s . t h e e r r o r s a s s o c i a t e d w i t h p h a s e m i s m a t c h a r e p a r t i c u l a r l y n o t i c e a b l e a t l o w p o w e r f a c t o r s . t h e a d e 7 8 1 6 p r o v i d e s a m e a n s o f d i g i t a l l y c a l i b r a t i n g t h e s e s m a l l p h a s e e r r o r s b y i n t r o d u c i n g a t i m e d e l a y o r a t i m e a d v a n c e . b e c a u s e d i f f e r e n t s e n s o r s c a n b e u s e d o n e a c h c h a n n e l , s e p a - r a t e p h a s e c a l i b r a t i o n r e g i s t e r s a r e i n c l u d e d a l l s i x c h a n n e l s . t h e p c f _ a _ c o e f f r e g i s t e r ( a d d r e s s 0 x 4 3 b 1 ) c a n b e u s e d t o c o r r e c t p h a s e e r r o r s o n c u r r e n t c h a n n e l a . t h e p c f _ b _ c o e f f ( a d d r e s s 0 x 4 3 b 2 ) , p c f _ c _ c o e f f ( a d d r e s s 0 x 4 3 b 3 ) , p c f _ d _ c o e f f ( a d d r e s s 0 x 4 3 b 4 ) , p c f _ e _ c o e f f ( a d d r e s s 0 x 4 3 b 5 ) , a n d p c f _ f _ c o e f f ( a d d r e s s 0 x 4 3 b 6 ) r e g i s t e r s c o n t r o l t h e p h a s e c a l i b r a t i o n o n t h e b t h r o u g h f c u r r e n t c h a n n e l s , r e s p e c t i v e l y . a l l r e g i s t e r s a r e 2 4 - b i t , u n s i g n e d . t h e a d e 7 8 1 6 u s e s a l l p a s s f i l t e r s t o a c c u r a t e l y a d d t i m e a d v a n c e s a n d d e l a y s t o t h e c u r r e n t c h a n n e l s w i t h r e s p e c t t o t h e v o l t a g e c h a n n e l s . a s e p a r a t e f i l t e r i s i n c l u d e d o n e a c h o f t h e s i x c u r r e n t c h a n n e l s . t o a d j u s t t h e t i m e d e l a y o r a d v a n c e , t h e c o e f f i c i e n t o f t h e s e f i l t e r s m u s t b e a d j u s t e d . e q u a t i o n 1 2 , e q u a t i o n 1 3 , a n d e q u a t i o n 1 4 s h o w h o w t h e c o e f f i c i e n t s c o r r e s p o n d t o t h e p h a s e o f f s e t i n r a d i a n s . p c f _ x _ c o e f f f r a c t i o n = ) 4 s i n ( s i n ) 3 s i n ( zt zzt   ( 1 2 ) i f p c f _ x _ c o e f f  0 , t h e n p c f _ x _ c o e f f = 2 2 3 p c f _ x _ c o e f f f r a c t i o n ( 1 3 ) i f p c f _ x _ c o e f f < 0 , t h e n p c f _ x _ c o e f f = ( 2 2 3 + 2 3 2 8 ) p c f _ x _ c o e f f f r a c t i o n ( 1 4 ) w h e r e  i s t h e r e q u i r e d c u r r e n t - t o - v o l t a g e p h a s e a d j u s t m e n t . 8 0 0 0 ) ( 2 h z l i n e f r e q sz t o s i m p l i f y t h i s c a l c u l a t i o n , a n a l o g d e v i c e s h a s a s p r e a d s h e e t f i l e t h a t c a l c u l a t e s t h i s v a l u e . t o o b t a i n t h i s s p r e a d s h e e t , c o n t a c t a r e p r e s e n t a t i v e o f a n a l o g d e v i c e s . b y d e f a u l t , t h e p c f _ x _ c o e f f r e g i s t e r s a r e s e t t o 0 . t h i s s e t t i n g d o e s n o t , h o w e v e r , r e s u l t i n a 0 p h a s e s h i f t . o n s t a r t u p , t h e p c f _ x _ c o e f f r e g i s t e r s s h o u l d b e s e t t o 0 x 4 0 0 c a 4 f o r a 5 0 h z s y s t e m a n d 0 x 4 0 1 2 3 5 f o r a 6 0 h z s y s t e m . r m s o f f s e t c a l i b r a t i o n t h e a d e 7 8 1 6 i n c l u d e s a n r m s o f f s e t c o m p e n s a t i o n r e g i s t e r f o r e a c h c h a n n e l , a s f o l l o w s : i a r m s o s ( a d d r e s s 0 x 4 3 8 b ) , i b r m s o s ( a d d r e s s 0 x 4 3 8 c ) , i c r m s o s ( a d d r e s s 0 x 4 3 8 d ) , i d r m s o s ( a d d r e s s 0 x 4 3 8 e ) , i e r m s o s ( a d d r e s s 0 x 4 3 8 f ) , i f r m s o s ( a d d r e s s 0 x 4 3 9 0 ) , a n d v r m s o s ( a d d r e s s 0 x 4 3 8 a ) . t h e s e 2 4 - b i t , s i g n e d r e g i s t e r s a r e u s e d t o r e m o v e o f f s e t s i n t h e c u r r e n t a n d v o l t a g e r m s c a l c u l a t i o n s . t h e r m s o f f s e t c o m p e n s a t i o n r e g i s t e r i s a d d e d t o t h e s q u a r e d c u r r e n t a n d v o l t a g e s i g n a l b e f o r e t h e s q u a r e r o o t i s e x e c u t e d . e q u a t i o n 1 5 s h o w s t h e r e l a t i o n s h i p b e t w e e n t h e r m s m e a s u r e m e n t a n d t h e o f f s e t a d j u s t m e n t . i x r m s o s i i r m s r m s u 1 2 8 2 0 ( 1 5 ) v r m s o s v v r m s r m s u 1 2 8 2 0 w h e r e i r m s 0 a n d v r m s 0 a r e t h e c u r r e n t a n d v o l t a g e r m s m e a s u r e m e n t , r e s p e c t i v e l y , w i t h o u t o f f s e t c o r r e c t i o n .
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 2 6 o f 4 8 p o w e r q u a l i t y f e a t u r e s t h i s s e c t i o n d e s c r i b e s t h e p o w e r q u a l i t y f e a t u r e s t h a t a r e a v a i l a b l e i n t h e a d e 7 8 1 6 . s e l e c t i n g a c u r r e n t c h a n n e l g r o u p w h e n u s i n g t h e p o w e r q u a l i t y f e a t u r e s o n t h e c u r r e n t c h a n n e l s , t h e g r o u p o f c h a n n e l s t o b e m o n i t o r e d m u s t b e s e l e c t e d . b i t 1 4 ( c h a n n e l _ s e l ) o f t h e c o m p m o d e r e g i s t e r ( a d d r e s s 0 x e 6 0 e ) c a n b e u s e d t o m a k e t h i s s e l e c t i o n . t o s e l e c t t h e a , b , a n d c c u r r e n t c h a n n e l s f o r t h e c u r r e n t c h a n n e l p o w e r q u a l i t y m e a s u r e m e n t s , c h a n n e l _ s e l m u s t b e s e t t o 0 ( d e f a u l t ) . t o s e l e c t t h e d , e , a n d f c u r r e n t c h a n n e l s f o r t h e c u r r e n t c h a n n e l p o w e r q u a l i t y m e a s u r e m e n t s , c h a n n e l _ s e l m u s t b e s e t t o 1 . i f a l l c h a n n e l s r e q u i r e m o n i t o r i n g , t h e m o n i t o r i n g m u s t b e d o n e i n s e r i e s b y m o d i f y i n g t h e c h a n n e l _ s e l b i t a f t e r d a t a i s o b t a i n e d . t h e s e t t l i n g t i m e o f e a c h p o w e r q u a l i t y m e a s u r e m e n t i s p r o v i d e d i n t h e s e c t i o n t h a t p e r t a i n s t o e a c h p o w e r q u a l i t y f e a t u r e . i n s t a n t a n e o u s w a v e f o r m s t h e a d e 7 8 1 6 p r o v i d e s a c c e s s t o t h e c u r r e n t a n d v o l t a g e c h a n n e l w a v e f o r m d a t a . t h i s i n f o r m a t i o n a l l o w s t h e i n s t a n t a n e o u s d a t a t o b e a n a l y z e d i n m o r e d e t a i l , i n c l u d i n g r e c o n s t r u c t i o n o f t h e c u r r e n t a n d v o l t a g e i n p u t f o r h a r m o n i c a n a l y s e s . t h e s e m e a s u r e - m e n t s a r e a v a i l a b l e f r o m a s e t o f 2 4 - b i t , s i g n e d r e g i s t e r s . t h e v o l t a g e c h a n n e l h a s a d e d i c a t e d r e g i s t e r , v w v ( a d d r e s s 0 x e 5 1 0 ) , w h e r e a s t h e c u r r e n t c h a n n e l s s h a r e t h r e e r e g i s t e r s : i a w v / i d w v ( a d d r e s s 0 x e 5 0 c ) , i b w v / i e w v ( a d d r e s s 0 x e 5 0 d ) , a n d i c w v / i f w v ( a d d r e s s 0 x e 5 0 e ) . a g r o u p o f c u r r e n t c h a n n e l s ( a , b , c o r d , e , f ) m u s t b e s e l e c t e d b y b i t 1 4 ( c h a n n e l _ s e l ) o f t h e c o m p m o d e r e g i s t e r ( s e e t h e s e l e c t i n g a c u r r e n t c h a n n e l g r o u p s e c t i o n ) . a l l m e a s u r e m e n t s a r e u p d a t e d a t a r a t e o f 8 k h z . t h e a d e 7 8 1 6 p r o v i d e s a n i n t e r r u p t s t a t u s b i t , d r e a d y ( b i t 1 7 o f t h e s t a t u s 0 r e g i s t e r , a d d r e s s 0 x e 5 0 2 ) , t h a t i s t r i g g e r e d a t a r a t e o f 8 k h z , a l l o w i n g m e a s u r e m e n t s t o b e s y n c h r o n i z e d w i t h t h e i n s t a n t a - n e o u s u p d a t e s i g n a l r a t e . t h e i n s t a n t a n e o u s u p d a t e s i g n a l c a n a l s o b e c o n f i g u r e d t o t r i g g e r a n i n t e r r u p t o n t h e e x t e r n a l p i n b y s e t t i n g t h e d r e a d y b i t ( b i t 1 7 ) i n t h e m a s k 0 r e g i s t e r ( a d d r e s s 0 x e 5 0 a ) . w i t h t h e s p e c i f i e d f u l l - s c a l e a n a l o g i n p u t s i g n a l o f 0 . 5 v , t h e e x p e c t e d r e a d i n g o n t h e c u r r e n t a n d v o l t a g e w a v e f o r m r e g i s t e r i s a p p r o x i m a t e l y 5 , 9 8 9 , 2 5 6 ( d e c ) . t h e i n s t a n t a n e o u s w a v e f o r m s h a v e n o a d d i t i o n a l s e t t l i n g t i m e , a n d , t h e r e f o r e , i f t h e c h a n n e l _ s e l b i t i s m o d i f i e d t o c h a n g e t h e g r o u p o f c u r r e n t c h a n n e l s b e i n g m e a s u r e d , t h e n e w r e s u l t i s a v a i l a b l e i n 1 2 5 s ( 8 k h z ) . z e r o - c r o s s i n g d e t e c t i o n z e r o - c r o s s i n g d e t e c t i o n t h e a d e 7 8 1 6 h a s a z e r o - c r o s s i n g ( z x ) d e t e c t i o n c i r c u i t o n t h e v o l t a g e a n d c u r r e n t c h a n n e l s . z e r o - c r o s s i n g d e t e c t i o n a l l o w s m e a s u r e m e n t s t o b e s y n c h r o n i z e d t o t h e f r e q u e n c y o f t h e i n c o m i n g w a v e f o r m s . t h e z e r o - c r o s s i n g e v e n t s a r e f i l t e r e d i n t e r n a l l y b y a n l p f . t h e l p f i s i n t e n d e d t o e l i m i n a t e a l l h a r m o n i c s o f 5 0 h z a n d 6 0 h z s y s t e m s , a n d t o h e l p i d e n t i f y t h e z e r o - c r o s s i n g e v e n t s o n t h e f u n d a m e n t a l c o m p o n e n t s o f b o t h c u r r e n t a n d v o l t a g e c h a n n e l s . t h e d i g i t a l f i l t e r h a s a p o l e a t 8 0 h z a n d i s c l o c k e d a t 2 5 6 k h z . a s a r e s u l t , t h e r e i s a p h a s e l a g b e t w e e n t h e a n a l o g i n p u t s i g n a l a n d t h e o u t p u t o f t h e l p f . t h e e r r o r i n z x d e t e c t i o n i s 0 . 0 7 0 3 f o r 5 0 h z s y s t e m s a n d 0 . 0 8 4 3 f o r 6 0 h z s y s t e m s . t h e p h a s e l a g r e s p o n s e o f t h e l p f r e s u l t s i n a t i m e d e l a y o f a p p r o x i m a t e l y 1 . 7 4 m s ( a t 5 0 h z ) b e t w e e n i t s i n p u t a n d o u t p u t . t h e o v e r a l l d e l a y b e t w e e n t h e z e r o c r o s s i n g o n t h e a n a l o g i n p u t s a n d t h e z x d e t e c t i o n t h a t i s o b t a i n e d a f t e r l p f 1 i s a b o u t 2 . 6 m s ( a t 5 0 h z ) . f i g u r e 3 3 s h o w s h o w t h e z e r o - c r o s s i n g s i g n a l i s d e t e c t e d . t o p r o v i d e f u r t h e r p r o t e c t i o n f r o m n o i s e , i n p u t s i g n a l s t o t h e v o l t a g e c h a n n e l w i t h a n a m p l i t u d e o f < 1 0 % o f f u l l s c a l e d o n o t g e n e r a t e z e r o - c r o s s i n g e v e n t s a t a l l . t h e z x d e t e c t i o n c i r c u i t o f t h e c u r r e n t c h a n n e l s i s a c t i v e f o r a l l i n p u t s i g n a l s , i n d e p e n d e n t o f t h e i r a m p l i t u d e s . i x g a i n o r v g a i n r e f e r e n c e h p f p g a a d c i a , i b , i c , i d , i e , i f , o r v z x d e t e c t i o n l p f _ z x i a , i b , i c , i d , i e , i f , o r v 2 . 6 m s @ 5 0 h z 1 0 . 8 5 5 0 v z x z x z x z x l p f _ z x o u t p u t 1 0 3 9 0 - 0 1 7 f i g u r e 3 3 . z e r o - c r o s s i n g d e t e c t i o n
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 2 7 o f 4 8 t h e a d e 7 8 1 6 c o n t a i n s f o u r z e r o - c r o s s i n g d e t e c t i o n c i r c u i t s , o n e d e d i c a t e d f o r t h e v o l t a g e c h a n n e l a n d t h r e e f o r t h e c u r r e n t c h a n n e l s . a g r o u p o f c u r r e n t c h a n n e l s ( a , b , c o r d , e , f ) m u s t b e s e l e c t e d b y b i t 1 4 ( c h a n n e l _ s e l ) o f t h e c o m p m o d e r e g i s t e r , a d d r e s s 0 x e 6 0 e ( s e e t h e s e l e c t i n g a c u r r e n t c h a n n e l g r o u p s e c t i o n ) . w h e n s w i t c h i n g b e t w e e n c h a n n e l g r o u p s , a s e t - t l i n g t i m e o f 1 0 m s ( 5 0 h z ) o r 8 m s ( 6 0 h z ) i s r e q u i r e d . e a c h c i r c u i t d r i v e s o n e f l a g i n t h e s t a t u s 1 r e g i s t e r ( a d d r e s s 0 x e 5 0 3 ) . f o r e x a m p l e , i f a z e r o c r o s s i n g o c c u r s o n t h e v o l t a g e c h a n n e l , b i t 9 ( z x v ) i n t h e s t a t u s 1 r e g i s t e r g o e s h i g h . i f a z e r o - c r o s s i n g e v e n t o c c u r s o n c u r r e n t c h a n n e l a a n d t h e c h a n n e l _ s e l b i t i n t h e c o m p m o d e r e g i s t e r i s s e t t o 0 , b i t 1 2 ( z x i 1 ) i n t h e s t a t u s 1 r e g i s t e r i s s e t t o 1 . z e r o - c r o s s i n g t i m e o u t e a c h z e r o - c r o s s i n g d e t e c t i o n c i r c u i t h a s a n a s s o c i a t e d t i m e o u t r e g i s t e r . t h i s r e g i s t e r i s l o a d e d w i t h t h e v a l u e t h a t i s w r i t t e n i n t o t h e 1 6 - b i t z x t o u t r e g i s t e r ( a d d r e s s 0 x e 6 0 d ) a n d i s d e c r e m e n t e d b y 1 l s b e v e r y 6 2 . 5  s ( 1 6 k h z c l o c k ) . t h e r e g i s t e r i s r e s e t t o t h e z x t o u t v a l u e e v e r y t i m e a z e r o c r o s s i n g i s d e t e c t e d . t h e d e f a u l t v a l u e o f t h i s r e g i s t e r i s 0 x f f f f . i f t h e t i m e o u t r e g i s t e r d e c r e m e n t s t o 0 b e f o r e a z e r o c r o s s i n g i s d e t e c t e d , t h e c o r r e s p o n d i n g s t a t u s 1 b i t i s s e t . t h e r e i s a z e r o - c r o s s i n g t i m e o u t c i r c u i t t h a t i s d e d i c a t e d t o t h e v o l t a g e c h a n n e l . f o r e x a m p l e , i f a z e r o - c r o s s i n g t i m e o u t e v e n t o c c u r s o n t h e v o l t a g e c h a n n e l , b i t 3 ( z x t o v ) i n t h e s t a t u s 1 r e g i s t e r i s s e t . t h e r e a r e t h r e e z e r o - c r o s s i n g t i m e o u t c i r c u i t s f o r t h e s i x c u r r e n t c h a n n e l s . a g r o u p o f c u r r e n t c h a n n e l s , a , b , c o r d , e , f , m u s t b e s e l e c t e d b y t h e c h a n n e l _ s e l b i t o f t h e c o m p m o d e r e g i s t e r ( s e e t h e s e l e c t i n g a c u r r e n t c h a n n e l g r o u p s e c t i o n ) . f o r e x a m p l e , i f a z e r o - c r o s s i n g t i m e o u t e v e n t o c c u r s o n c u r r e n t c h a n n e l d a n d t h e c h a n n e l _ s e l b i t i n t h e c o m p m o d e r e g i s t e r i s s e t t o 1 , b i t 6 ( z x t o i 1 ) i n t h e s t a t u s 1 r e g i s t e r i s s e t t o 1 . t h e r e s o l u t i o n o f t h e z x t o u t r e g i s t e r i s 6 2 . 5  s ( 1 6 k h z c l o c k ) p e r l s b . t h e r e f o r e , t h e m a x i m u m t i m e o u t p e r i o d f o r a n i n t e r r u p t i s 4 . 0 9 6 s e c ( 2 1 6 / 1 6 k h z ) . p e a k d e t e c t i o n t h e a d e 7 8 1 6 i n c l u d e s a n i n s t a n t a n e o u s p e a k d e t e c t i o n f e a t u r e t h a t s t o r e s t h e m a x i m u m a b s o l u t e v a l u e r e a c h e d o n t h e c u r r e n t a n d v o l t a g e c h a n n e l s o v e r a f i x e d n u m b e r o f h a l f l i n e c y c l e s . t h e p e a k c y c r e g i s t e r ( a d d r e s s 0 x e 7 0 3 ) s t o r e s t h e n u m b e r o f h a l f l i n e c y c l e s u s e d f o r a l l p e a k m e a s u r e m e n t s . t h e p e a k d e t e c t i o n f e a t u r e i s a v a i l a b l e o n t h e v o l t a g e c h a n n e l a n d t h r e e o f t h e c u r r e n t c h a n n e l s . a g r o u p o f c u r r e n t c h a n n e l s ( a , b , c o r d , e , f ) m u s t b e s e l e c t e d b y t h e c h a n n e l _ s e l b i t o f t h e c o m p m o d e r e g i s t e r ( s e e t h e s e l e c t i n g a c u r r e n t c h a n n e l g r o u p s e c t i o n ) . w h e n s w i t c h i n g b e t w e e n c u r r e n t c h a n n e l g r o u p s , n o a d d i t i o n a l s e t t l i n g t i m e i s r e q u i r e d . h o w e v e r , t h e p e a k c y c r e g i s t e r s h o u l d b e r e w r i t t e n t o r e s e t t h e m e a s u r e m e n t . b y d e f a u l t , a l l t h r e e c u r r e n t c h a n n e l s a r e i n c l u d e d i n t h e p e a k d e t e c t i o n m e a s u r e m e n t . i f o n l y o n e o r t w o c u r r e n t c h a n n e l s a r e r e q u i r e d , b i t s [ 4 : 2 ] ( p e a k s e l x ) o f t h e m m o d e r e g i s t e r ( a d d r e s s 0 x e 7 0 0 ) c a n b e s e t t o 0 t o d i s a b l e a c h a n n e l . n o t e t h a t o n e p e a k s e l x b i t m u s t a l w a y s b e s e t t o 1 t o e n a b l e t h e f e a t u r e . t h e r e s u l t s o f t h e c u r r e n t a n d v o l t a g e p e a k d e t e c t i o n a r e s t o r e d i n t h e l o w e s t 2 4 b i t s o f t w o 3 2 - b i t , u n s i g n e d r e g i s t e r s , i p e a k ( a d d r e s s 0 x e 5 0 0 ) a n d v p e a k ( a d d r e s s 0 x e 5 0 1 ) . t h e p e a k d e t e c t i o n m e a s u r e m e n t s a r e u p d a t e d a t t h e e n d o f t h e p e a k c y c l e s p e c i f i e d i n t h e p e a k c y c r e g i s t e r . a t t h a t t i m e , b i t 2 4 ( p k v ) a n d b i t 2 3 ( p k i ) i n t h e s t a t u s 1 r e g i s t e r g o h i g h , s i g n a l i n g a p e a k e v e n t . t o d e t e r m i n e w h i c h c u r r e n t c h a n n e l c a u s e d t h e p e a k e v e n t , b i t s [ 2 6 : 2 4 ] ( i p c h a n n e l x ) i n t h e i p e a k r e g i s t e r m u s t b e r e a d . s e t t i n g t h e p e a k c y c r e g i s t e r t h e 8 - b i t , u n s i g n e d p e a k c y c r e g i s t e r c o n t a i n s t h e p r o g r a m - m a b l e p e a k d e t e c t i o n p e r i o d . t h e p e a k d e t e c t i o n p e r i o d i s t h e n u m b e r o f h a l f l i n e c y c l e s o v e r w h i c h t h e p e a k m e a s u r e m e n t i s m e a s u r e d . e a c h l s b o f t h e p e a k c y c r e g i s t e r c o r r e s p o n d s t o o n e h a l f l i n e c y c l e p e r i o d . t h e p e a k c y c r e g i s t e r h o l d s a m a x i m u m v a l u e o f 2 5 5 . a t 5 0 h z , t h e m a x i m u m p e a k c y c l e t i m e i s 2 . 5 5 s e c o n d s . ?1 ? y 2 5 0 1 2 5 5 = 2 . 5 5 s e c a t 6 0 h z , t h e m a x i m u m p e a k c y c l e t i m e i s 2 . 1 2 5 s e c o n d s . ?1 ? y 2 6 0 1 2 5 5 = 2 . 1 2 5 s e c o v e r c u r r e n t a n d o v e r v o l t a g e d e t e c t i o n t h e a d e 7 8 1 6 p r o v i d e s a n o v e r c u r r e n t a n d o v e r v o l t a g e f e a t u r e t h a t d e t e c t s w h e t h e r t h e a b s o l u t e v a l u e o f t h e c u r r e n t o r v o l t a g e w a v e f o r m e x c e e d s a p r o g r a m m a b l e t h r e s h o l d . t h i s f e a t u r e u s e s t h e i n s t a n t a n e o u s v o l t a g e a n d c u r r e n t s i g n a l s . t h e t w o r e g i s t e r s u s e d t o s e t t h e v o l t a g e a n d c u r r e n t c h a n n e l t h r e s h o l d a r e o v l v l ( a d d r e s s 0 x e 5 0 8 ) a n d o i l v l ( a d d r e s s 0 x e 5 0 7 ) , r e s p e c t i v e l y . t h e o i l v l t h r e s h o l d r e g i s t e r d e t e r m i n e s t h e t h r e s h o l d f o r a l l c u r r e n t c h a n n e l s . t h e d e f a u l t v a l u e o f t h e o v l v l a n d o i l v l r e g i s t e r s i s 0 x f f f f f f , w h i c h e f f e c t i v e l y d i s a b l e s t h e f e a t u r e . f i g u r e 3 4 s h o w s t h e o p e r a t i o n o f t h e o v e r v o l t a g e d e t e c t i o n f e a t u r e . o v l v l b i t 1 8 ( o v ) o f s t a t u s 1 v o l t a g e c h a n n e l o v e r v o l t a g e d e t e c t e d s t a t u s 1 [ 1 8 ] c a n c e l l e d b y a w r i t e o f s t a t u s 1 w i t h o v b i t s e t . 1 0 3 9 0 - 0 1 8 f i g u r e 3 4 . o v e r v o l t a g e d e t e c t i o n
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 2 8 o f 4 8 a s s h o w n i n f i g u r e 3 4 , t h e o v b i t ( b i t 1 8 ) i n t h e s t a t u s 1 r e g i s t e r ( a d d r e s s 0 x e 5 0 3 ) i s s e t t o 1 i f t h e a d e 7 8 1 6 d e t e c t s a n o v e r v o l t a g e c o n d i t i o n . t h e o v e r c u r r e n t d e t e c t i o n f e a t u r e w o r k s i n a s i m i l a r m a n n e r ; h o w e v e r , a g r o u p o f c u r r e n t c h a n n e l s ( a , b , c o r d , e , f ) m u s t b e s e l e c t e d b y b i t 1 4 ( c h a n n e l _ s e l ) o f t h e c o m p m o d e r e g i s t e r , a d d r e s s 0 x e 6 0 e ( s e e t h e s e l e c t i n g a c u r r e n t c h a n n e l g r o u p s e c t i o n ) . w h e n s w i t c h i n g b e t w e e n c u r r e n t c h a n n e l g r o u p s , n o a d d i t i o n a l s e t t l i n g t i m e i s r e q u i r e d a n d t h e f e a t u r e c o n t i n u e s t o m o n i t o r a t a n 8 k h z r a t e . i f a n o v e r c u r r e n t c o n d i t i o n i s d e t e c t e d o n a n y o f t h e s e l e c t e d c u r r e n t c h a n n e l s , t h e o i b i t ( b i t 1 7 ) o f t h e s t a t u s 1 r e g i s t e r i s s e t t o 1 . t o d e t e r m i n e t h e c u r r e n t c h a n n e l ( s ) c a u s i n g t h e o v e r c u r r e n t e v e n t , t h e o i c h a n n e l x b i t s ( b i t 3 , b i t 4 , a n d b i t 5 ) o f t h e c h s t a t u s r e g i s t e r a r e u s e d . s e t t i n g t h e o v l v l a n d o i l v l r e g i s t e r s t h e c o n t e n t o f t h e o v e r v o l t a g e ( o v l v l ) a n d o v e r c u r r e n t ( o i l v l ) , 2 4 - b i t , u n s i g n e d r e g i s t e r s i s c o m p a r e d t o t h e a b s o l u t e v a l u e o f t h e v o l t a g e a n d c u r r e n t c h a n n e l s . t h e m a x i m u m v a l u e o f t h e s e r e g i s t e r s i s 5 , 9 2 8 , 2 5 6 ( 0 x 5 a 7 5 4 0 ) w i t h f u l l s c a l e i n p u t s . w h e n e i t h e r t h e o v l v l o r o i l v l r e g i s t e r i s e q u a l t o t h i s v a l u e , t h e o v e r v o l t a g e o r o v e r c u r r e n t c o n d i t i o n s a r e n e v e r d e t e c t e d . w r i t i n g 0 x 0 t o t h e s e r e g i s t e r s s i g n i f i e s t h a t t h e o v e r v o l t a g e o r o v e r c u r r e n t c o n d i t i o n s a r e c o n t i n u o u s l y d e t e c t e d , a n d t h e c o r r e s p o n d i n g i n t e r r u p t s a r e p e r m a n e n t l y t r i g g e r e d . o v e r v o l t a g e a n d o v e r c u r r e n t i n t e r r u p t s t w o i n t e r r u p t s a r e a s s o c i a t e d w i t h t h e o v e r v o l t a g e a n d o v e r c u r r e n t f e a t u r e s . t h e f i r s t i n t e r r u p t i s a s s o c i a t e d w i t h t h e o v e r v o l t a g e f e a t u r e ; i t i s e n a b l e d b y s e t t i n g t h e o v b i t ( b i t 1 8 ) o f t h e m a s k 1 r e g i s t e r ( a d d r e s s 0 x e 5 0 b ) . w h e n t h i s b i t i s s e t , a n o v e r v o l t a g e c o n d i t i o n c a u s e s t h e e x t e r n a l i r q 1 p i n t o b e p u l l e d l o w . a s e c o n d i n t e r r u p t i s a s s o c i a t e d w i t h t h e o v e r c u r r e n t d e t e c t i o n f e a t u r e . t h i s i n t e r r u p t i s e n a b l e d b y s e t t i n g t h e o i b i t ( b i t 1 7 ) o f t h e m a s k 1 r e g i s t e r . w h e n t h i s b i t i s s e t , a n o v e r c u r r e n t c o n d i t i o n o n a n y o f t h e s e l e c t e d c u r r e n t c h a n n e l s c a u s e s t h e e x t e r n a l i r q 1 p i n t o b e p u l l e d l o w . i n d i c a t i o n o f p o w e r d i r e c t i o n t h e a d e 7 8 1 6 i n c l u d e s s i g n i n d i c a t i o n o n t h e a c t i v e a n d r e a c t i v e p o w e r m e a s u r e m e n t s . s i g n i n d i c a t i o n a l l o w s p o s i t i v e a n d n e g a t i v e e n e r g y t o b e i d e n t i f i e d a n d b i l l e d s e p a r a t e l y , i f r e q u i r e d . i t a l s o h e l p s d e t e c t a m i s w i r i n g c o n d i t i o n . t h i s f e a t u r e i s a v a i l a b l e o n t h r e e c h a n n e l s a t a t i m e . a g r o u p o f c u r r e n t c h a n n e l s ( a , b , c o r d , e , f ) m u s t b e s e l e c t e d b y b i t 1 4 ( c h a n n e l _ s e l ) o f t h e c o m p m o d e r e g i s t e r a t a d d r e s s 0 x e 6 0 e , b i t 6 ( r e v a p s e l ) a n d b i t 7 ( r e v r p s e l ) o f t h e a c c m o d e r e g i s t e r a t a d d r e s s 0 x e 7 0 1 ( s e e t h e s e l e c t i n g a c u r r e n t c h a n n e l g r o u p s e c t i o n ) . t h e t h r e e - s i g n i n d i c a t i o n b i t s t h a t i n d i c a t e t h e p o l a r i t y o f t h e a c t i v e p o w e r a r e b i t 0 ( w 1 s i g n ) , b i t 1 ( w 2 s i g n ) , a n d b i t 2 ( w 3 s i g n ) o f t h e c h s i g n r e g i s t e r ( a d d r e s s 0 x e 6 1 7 ) . w 1 s i g n i n d i c a t e s t h e d i r e c t i o n o f p o w e r o n t h e a o r d c u r r e n t c h a n n e l , w 2 s i g n i n d i c a t e s t h e d i r e c t i o n o f p o w e r o n t h e b o r e c u r r e n t c h a n n e l , a n d w 3 s i g n i n d i c a t e s t h e d i r e c t i o n o f p o w e r o n t h e c o r f c u r r e n t c h a n n e l . a n a d d i t i o n a l t h r e e b i t s , v a r 1 s i g n ( b i t 4 ) , v a r 2 s i g n ( b i t 5 ) , a n d v a r 3 s i g n ( b i t 6 ) , a l s o i n t h e c h s i g n r e g i s t e r , p r o v i d e t h e d i r e c t i o n o f t h e r e a c t i v e p o w e r . a l l o f t h e s e b i t s a r e u n l a t c h e d a n d r e a d o n l y . a l o w r e a d i n g ( 0 ) o n a n y o f t h e s e b i t s i n d i c a t e s t h a t t h e c o r r e s p o n d i n g p o w e r r e a d i n g i s p o s i t i v e ; a h i g h r e a d i n g ( 1 ) i n d i c a t e s t h a t t h e c o r r e s p o n d i n g p o w e r r e a d i n g i s n e g a t i v e . i n a d d i t i o n t o t h e s i g n i n d i c a t i o n b i t s , t h e a d e 7 8 1 6 a l s o i n c l u d e s r e v e r s e p o w e r s t a t u s b i t s a n d a s s o c i a t e d i n t e r r u p t s . t h e s t a t u s b i t s a r e l o c a t e d i n t h e s t a t u s 0 r e g i s t e r ( a d d r e s s 0 x e 5 0 2 ) . t h e r e v e r s e p o w e r b i t s a r e s e t t o 1 w h e n t h e s i g n o f t h e p o w e r c h a n g e s . b i t 6 ( r e v a p 1 ) m o n i t o r s t h e a o r d c u r r e n t c h a n n e l , b i t 7 ( r e v a p 2 ) m o n i t o r s t h e b o r e c h a n n e l , a n d b i t 8 ( r e v a p 3 ) m o n i t o r s t h e c o r f c u r r e n t c h a n n e l . s i m i l a r l y , b i t 1 0 ( r e v r p 1 ) , b i t 1 1 ( r e v r p 2 ) , a n d b i t 1 2 ( r e v r p 3 ) m o n i t o r t h e r e a c t i v e p o w e r . b o t h p o s i t i v e - t o - n e g a t i v e a n d n e g a t i v e - t o - p o s i t i v e c h a n g e s r e s u l t i n t h e c o r r e s p o n d i n g s t a t u s b i t b e i n g s e t . e a c h s t a t u s b i t h a s a c o r - r e s p o n d i n g i n t e r r u p t e n a b l e b i t t h a t i s l o c a t e d i n t h e m a s k 0 r e g i s t e r ( a d d r e s s 0 x e 5 0 a ) . i f t h e c o r r e s p o n d i n g m a s k 0 b i t i s s e t , a c h a n g e i n a c t i v e e n e r g y p o w e r d i r e c t i o n c a u s e s t h e e x t e r n a l i r q 0 p i n t o b e p u l l e d l o w ( s e e t h e i n t e r r u p t s s e c t i o n f o r m o r e d e t a i l s ) . a n g l e m e a s u r e m e n t s t h e a d e 7 8 1 6 c a n m e a s u r e t h e t i m e d e l a y b e t w e e n t h e c u r r e n t a n d v o l t a g e i n p u t s . i t c a n a l s o b e c o n f i g u r e d t o m e a s u r e t h e t i m e b e t w e e n t h e s i x c u r r e n t c h a n n e l s . t h e n e g a t i v e - t o - p o s i t i v e t r a n s i t i o n s i d e n t i f i e d b y t h e z e r o - c r o s s i n g d e t e c t i o n c i r c u i t a r e u s e d a s a s t a r t a n d s t o p f o r t h e m e a s u r e m e n t ( s e e f i g u r e 3 5 ) . c u r r e n t c h a n n e l x a n g l e v o l t a g e 1 0 3 9 0 - 0 1 9 f i g u r e 3 5 . v o l t a g e - t o - c u r r e n t t i m e d e l a y t h e r e a r e t h r e e a n g l e r e g i s t e r s t h a t s t o r e t h e r e s u l t s o f t h e t i m e d e l a y . a g r o u p o f c u r r e n t c h a n n e l s ( a , b , c o r d , e , f ) m u s t b e s e l e c t e d b y b i t 1 4 ( c h a n n e l _ s e l ) o f t h e c o m p m o d e r e g i s t e r ( s e e t h e s e l e c t i n g a c u r r e n t c h a n n e l g r o u p s e c t i o n ) . w h e n b i t s [ 1 0 : 9 ] ( a n g l e s e l ) o f t h e c o m p m o d e r e g i s t e r a r e s e t t o 0 0 b ( d e f a u l t ) , t h e t i m e d e l a y s b e t w e e n t h e c u r r e n t c h a n n e l s a n d t h e v o l t a g e c h a n n e l a r e m e a s u r e d . t h e a n g l e 0 r e g i s t e r ( a d d r e s s 0 x e 6 0 1 ) s t o r e s t h e d e l a y b e t w e e n t h e v o l t a g e a n d t h e a o r d c u r r e n t c h a n n e l . t h e a n g l e 1 r e g i s t e r ( a d d r e s s 0 x e 6 0 2 ) s t o r e s t h e d e l a y b e t w e e n t h e v o l t a g e a n d t h e b o r e c u r r e n t c h a n n e l . t h e a n g l e 2 r e g i s t e r ( a d d r e s s 0 x e 6 0 3 ) s t o r e s t h e d e l a y b e t w e e n t h e v o l t a g e a n d t h e c o r f c u r r e n t c h a n n e l . t h e t i m e d e l a y b e t w e e n t h e c u r r e n t a n d v o l t a g e i n p u t s c a n b e u s e d t o c h a r a c t e r i z e h o w b a l a n c e d t h e l o a d i s . t h e d e l a y s b e t w e e n p h a s e v o l t a g e s a n d c u r r e n t s c a n b e u s e d t o c o m p u t e t h e p o w e r f a c t o r , a s s h o w n i n e q u a t i o n 1 6 . ? ?1 ? u u k h z 2 5 6 3 6 0 c o s c o s l i n e o x f a n g l e x t ( 1 6 ) w h e r e f l i n e i s 5 0 h z o r 6 0 h z .
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 2 9 o f 4 8 t h i s m e t h o d o f d e t e r m i n i n g t h e p o w e r f a c t o r d o e s n o t t a k e i n t o a c c o u n t t h e e f f e c t o f a n y h a r m o n i c s . w h e n b i t s [ 1 0 : 9 ] ( a n g l e s e l ) o f t h e c o m p m o d e r e g i s t e r a r e s e t t o 1 0 b , t h e t i m e d e l a y s ( a n g l e s ) b e t w e e n c u r r e n t c h a n n e l s a r e m e a s u r e d . t a b l e 1 0 s h o w s t h e c u r r e n t c h a n n e l - t o - c h a n n e l d e l a y m e a s u r e - m e n t s t h a t a r e a v a i l a b l e . t a b l e 1 0 . a v a i l a b l e c h a n n e l - t o - c h a n n e l m e a s u r e m e n t s ( a n g l e s e l = 1 0 b ) c h a n n e l _ s e l ( c o m p m o d e [ 1 4 ] ) c h a n n e l - t o - c h a n n e l m e a s u r e m e n t s a n g l e 0 a n g l e 1 a n g l e 2 0 a t o b a t o c b t o c 1 a t o e d t o f e t o f t h e a n g l e 0 ( a d d r e s s 0 x e 6 0 1 ) , a n g l e 1 ( a d d r e s s 0 x e 6 0 2 ) , a n d a n g l e 2 ( a d d r e s s 0 x e 6 0 3 ) r e g i s t e r s a r e 1 6 - b i t , u n s i g n e d r e g i s t e r s w i t h 1 l s b c o r r e s p o n d i n g t o 3 . 9 0 6 2 5  s ( 2 5 6 k h z c l o c k ) , w h i c h c o r r e s p o n d s t o a r e s o l u t i o n o f 0 . 0 7 0 3 ( 3 6 0 5 0 h z / 2 5 6 k h z ) f o r 5 0 h z s y s t e m s a n d 0 . 0 8 4 3 ( 3 6 0 6 0 h z / 2 5 6 k h z ) f o r 6 0 h z s y s t e m s . p e r i o d m e a s u r e m e n t t h e a d e 7 8 1 6 p r o v i d e s t h e p e r i o d m e a s u r e m e n t o f t h e l i n e i n t h e v o l t a g e c h a n n e l . t h e p e r i o d r e g i s t e r ( a d d r e s s 0 x e 6 0 7 ) i s a 1 6 - b i t , u n s i g n e d r e g i s t e r t h a t u p d a t e s e v e r y l i n e p e r i o d . d u e t o i n t e r n a l f i l t e r i n g , a s e t t l i n g t i m e o f 3 0 m s t o 4 0 m s i s a s s o c i - a t e d w i t h t h i s m e a s u r e m e n t . t h e p e r i o d m e a s u r e m e n t h a s a r e s o l u t i o n o f 3 . 9 0 6 2 5  s / l s b ( 2 5 6 k h z c l o c k ) , w h i c h r e p r e s e n t s 0 . 0 1 9 5 % ( 5 0 h z / 2 5 6 k h z ) w h e n t h e l i n e f r e q u e n c y i s 5 0 h z a n d 0 . 0 2 3 4 % ( 6 0 h z / 2 5 6 k h z ) w h e n t h e l i n e f r e q u e n c y i s 6 0 h z . t h e v a l u e o f t h e p e r i o d r e g i s t e r f o r 5 0 h z n e t w o r k s i s a p p r o x i m a t e l y 5 1 2 0 ( 2 5 6 k h z / 5 0 h z ) a n d f o r 6 0 h z n e t w o r k s i s a p p r o x i m a t e l y 4 2 6 7 ( 2 5 6 k h z / 6 0 h z ) . t h e l e n g t h o f t h e r e g i s t e r e n a b l e s t h e m e a s u r e m e n t o f l i n e f r e q u e n c i e s t h a t a r e a s l o w a s 3 . 9 h z ( 2 5 6 k h z / 2 1 6 ) . t h e p e r i o d r e g i s t e r i s s t a b l e a t 1 l s b w h e n t h e l i n e i s e s t a b l i s h e d , a n d t h e m e a s u r e m e n t d o e s n o t c h a n g e . t h e f o l l o w i n g e x p r e s s i o n s c a n b e u s e d t o c o m p u t e t h e l i n e p e r i o d a n d f r e q u e n c y , u s i n g t h e p e r i o d r e g i s t e r : >@ s e c 3 e 2 5 6 x 0 1  0 ] p e r i o d [ 1 5 : t l ( 1 7 ) ] h z [ 1 3 e 2 5 6 x 0  0 ] p e r i o d [ 1 5 : f l v o l t a g e s a g d e t e c t i o n t h e a d e 7 8 1 6 i n c l u d e s a s a g d e t e c t i o n f e a t u r e t h a t w a r n s t h e u s e r w h e n t h e a b s o l u t e v a l u e o f t h e l i n e v o l t a g e f a l l s b e l o w t h e p r o g r a m m a b l e t h r e s h o l d f o r a p r o g r a m m a b l e n u m b e r o f l i n e c y c l e s . t h i s f e a t u r e c a n p r o v i d e a n e a r l y w a r n i n g s i g n a l t h a t t h e l i n e v o l t a g e i s d r o p p i n g o u t . t h e v o l t a g e s a g f e a t u r e i s c o n t r o l l e d b y t w o r e g i s t e r s : s a g c y c ( a d d r e s s 0 x e 7 0 4 ) a n d s a g l v l ( a d d r e s s 0 x e 5 0 9 ) . t h e s e r e g i s t e r s c o n t r o l t h e s a g p e r i o d a n d t h e s a g v o l t a g e t h r e s h o l d , r e s p e c t i v e l y . s a g d e t e c t i o n i s d i s a b l e d b y d e f a u l t a n d c a n b e e n a b l e d b y w r i t i n g a n o n z e r o v a l u e t o b o t h t h e s a g c y c a n d s a g l v l r e g i s t e r s . i f e i t h e r r e g i s t e r i s s e t t o 0 , t h e s a g f e a t u r e i s d i s a b l e d . i f a v o l t a g e s a g c o n d i t i o n o c c u r s , t h e s a g b i t ( b i t 1 6 ) i n t h e s t a t u s 1 r e g i s t e r ( a d d r e s s 0 x e 5 0 3 ) i s s e t t o 1 . s e t t i n g t h e s a g c y c r e g i s t e r t h e 8 - b i t , u n s i g n e d s a g c y c r e g i s t e r c o n t a i n s t h e p r o g r a m m a b l e s a g p e r i o d . t h e s a g p e r i o d i s t h e n u m b e r o f h a l f l i n e c y c l e s b e l o w w h i c h t h e v o l t a g e c h a n n e l m u s t r e m a i n b e f o r e a s a g c o n d i t i o n o c c u r s . e a c h l s b o f t h e s a g c y c r e g i s t e r c o r r e s p o n d s t o a h a l f l i n e c y c l e p e r i o d . t h e s a g c y c r e g i s t e r h o l d s a m a x i m u m v a l u e o f 2 5 5 . a t 5 0 h z , t h e m a x i m u m s a g c y c l e t i m e i s 2 . 5 5 s e c o n d s . ?1 ? y 2 5 0 1 2 5 5 = 2 . 5 5 s e c a t 6 0 h z , t h e m a x i m u m s a g c y c l e t i m e i s 2 . 1 2 5 s e c o n d s . ?1 ? y 2 6 0 1 2 5 5 = 2 . 1 2 5 s e c i f t h e s a g c y c v a l u e i s m o d i f i e d a f t e r t h e f e a t u r e i s e n a b l e d , t h e n e w s a g c y c p e r i o d i s e f f e c t i v e i m m e d i a t e l y . t h e r e f o r e , i t i s p o s s i b l e f o r a s a g e v e n t t o b e c a u s e d b y a c o m b i n a t i o n o f s a g c y c l e p e r i o d s . t o p r e v e n t a n y o v e r l a p , t h e s a g l v l r e g i s t e r s h o u l d b e r e s e t t o 0 t o e f f e c t i v e l y d i s a b l e t h e f e a t u r e b e f o r e t h e n e w c y c l e v a l u e i s w r i t t e n t o t h e s a g c y c r e g i s t e r . s e t t i n g t h e s a g l v l r e g i s t e r t h e c o n t e n t o f t h e 2 4 - b i t s a g l v l r e g i s t e r i s c o m p a r e d t o t h e a b s o l u t e v a l u e o f t h e o u t p u t f r o m t h e h p f . w r i t i n g 5 , 9 2 8 , 2 5 6 ( 0 x 5 a 7 5 4 0 ) t o t h e s a g l v l r e g i s t e r s e t s t h e s a g d e t e c t i o n l e v e l a t f u l l s c a l e . t h i s r e s u l t s i n t h e s a g e v e n t t r i g g e r i n g c o n t i n u o u s l y . w r i t i n g 0 x 0 0 o r 0 x 0 1 p u t s t h e s a g d e t e c t i o n l e v e l a t 0 ; t h e r e f o r e , t h e s a g e v e n t i s n e v e r t r i g g e r e d . v o l t a g e s a g i n t e r r u p t t h e a d e 7 8 1 6 i n c l u d e s a n i n t e r r u p t t h a t i s a s s o c i a t e d w i t h t h e v o l t a g e s a g d e t e c t i o n f e a t u r e . i f t h i s i n t e r r u p t i s e n a b l e d , a v o l t a g e s a g e v e n t c a u s e s t h e e x t e r n a l i r q 1 p i n t o g o l o w . t h i s i n t e r r u p t i s d i s a b l e d b y d e f a u l t a n d c a n b e e n a b l e d b y s e t t i n g t h e s a g b i t ( b i t 1 6 ) i n t h e m a s k 1 r e g i s t e r , a d d r e s s 0 x e 5 0 b ( s e e t h e i n t e r r u p t s s e c t i o n ) .
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 3 0 o f 4 8 c h e c k s u m t h e a d e 7 8 1 6 h a s a 3 2 - b i t c h e c k s u m r e g i s t e r ( a d d r e s s 0 x e 5 1 f ) t h a t e n s u r e s t h a t c e r t a i n i m p o r t a n t c o n f i g u r a t i o n r e g i s t e r s m a i n t a i n t h e i r d e s i r e d v a l u e d u r i n g n o r m a l o p e r a t i o n . t h e r e g i s t e r s t h a t a r e i n c l u d e d i n t h i s f e a t u r e a r e m a s k 0 , m a s k 1 , c o m p m o d e , g a i n , c o n f i g , m m o d e , a c c m o d e , l c y c m o d e , h s d c _ c f g , p l u s f o u r a d d i t i o n a l 1 6 - b i t r e s e r v e d r e g i s t e r s a n d s i x 8 - b i t r e s e r v e d i n t e r n a l r e g i s t e r s . a l l r e s e r v e d r e g i s t e r s a l w a y s h a v e d e f a u l t v a l u e s . t h e a d e 7 8 1 6 c o m p u t e s t h e c y c l i c r e d u n d a n c y c h e c k ( c r c ) b a s e d o n t h e i e e e 8 0 2 . 3 s t a n d a r d . t h e r e g i s t e r s a r e i n t r o d u c e d , o n e b y o n e , i n t o a l i n e a r f e e d b a c k s h i f t r e g i s t e r ( l f s r ) b a s e d g e n e r a t o r , s t a r t i n g w i t h t h e l e a s t s i g n i f i c a n t b i t ( a s s h o w n i n f i g u r e 3 6 ) . t h e 3 2 - b i t r e s u l t i s w r i t t e n i n t h e c h e c k s u m r e g i s t e r . a f t e r p o w e r - u p o r a h a r d w a r e / s o f t w a r e r e s e t , t h e c r c i s c o m p u t e d o n t h e d e f a u l t v a l u e s o f t h e r e g i s t e r s . t h e d e f a u l t v a l u e o f t h e c h e c k s u m r e g i s t e r i s 0 x 3 3 6 6 6 7 8 7 . f i g u r e 3 7 s h o w s h o w t h e l f s r w o r k s . t h e m a s k 0 , m a s k 1 , c o m p m o d e , g a i n , c o n f i g , m m o d e , a c c m o d e , l c y c m o d e , a n d h s d c _ c f g r e g i s t e r s , a l o n g w i t h t h e f o u r 1 6 - b i t r e s e r v e d r e g i s t e r s a n d s i x 8 - b i t r e s e r v e d i n t e r n a l r e g i s t e r s , f o r m t h e b i t s [ a 2 5 5 , a 2 5 4 , ? , a 0 ] u s e d b y t h e l f s r . b i t a 0 i s t h e l e a s t s i g n i f i c a n t b i t o f t h e f i r s t i n t e r n a l r e g i s t e r t o e n t e r t h e l f s r ; b i t a 2 5 5 i s t h e m o s t s i g n i f i c a n t b i t o f t h e m a s k 0 r e g i s t e r , t h e l a s t r e g i s t e r t o e n t e r t h e l f s r . t h e f o r m u l a s t h a t g o v e r n t h e l f s r a r e a s f o l l o w s : b i ( 0 ) = 1 , w h e r e i = 0 , 1 , 2 , ? , 3 1 , t h e i n i t i a l s t a t e o f t h e b i t s t h a t f o r m t h e c r c . b i t b 0 i s t h e l e a s t s i g n i f i c a n t b i t , a n d b i t b 3 1 i s t h e m o s t s i g n i f i c a n t b i t . g i , w h e r e i = 0 , 1 , 2 , ? , 3 1 i s t h e c o e f f i c i e n t o f t h e g e n e r a t i n g p o l y n o m i a l d e f i n e d b y t h e i e e e 8 0 2 . 3 s t a n d a r d a s f o l l o w s : g ( x ) = x 3 2 + x 2 6 + x 2 3 + x 2 2 + x 1 6 + x 1 2 + x 1 1 + x 1 0 + ( 1 8 ) x 8 + x 7 + x 5 + x 4 + x 2 + x + 1 g 0 = g 1 = g 2 = g 4 = g 5 = g 7 = 1 ( 1 9 ) g 8 = g 1 0 = g 1 1 = g 1 2 = g 1 6 = g 2 2 = g 2 6 = g 3 1 = 1 a l l o f t h e o t h e r g i c o e f f i c i e n t s a r e e q u a l t o 0 . f b ( j ) = a j ? 1 x o r b 3 1 ( j ? 1 ) ( 2 0 ) b 0 ( j ) = f b ( j ) a n d g 0 ( 2 1 ) b i ( j ) = f b ( j ) a n d g i x o r b i ? 1 ( j ? 1 ) , i = 1 , 2 , 3 , . . . , 3 1 ( 2 2 ) e q u a t i o n 2 0 , e q u a t i o n 2 1 , a n d e q u a t i o n 2 2 m u s t b e r e p e a t e d f o r j = 1 , 2 , ? , 2 5 6 . t h e v a l u e w r i t t e n i n t o t h e c h e c k s u m r e g i s t e r c o n - t a i n s b i t b i ( 2 5 6 ) , i = 0 , 1 , ? , 3 1 . a f t e r t h e b i t s f r o m t h e r e s e r v e d i n t e r n a l r e g i s t e r p a s s t h r o u g h t h e l f s r , t h e v a l u e o f t h e c r c ( w h i c h i s o b t a i n e d a t s t e p j = 4 8 ) i s 0 x 3 3 6 6 0 7 8 7 . t w o d i f f e r e n t a p p r o a c h e s c a n b e f o l l o w e d i n u s i n g t h e c h e c k s u m r e g i s t e r . o n e i s t o c o m p u t e t h e c r c , b a s e d o n e q u a t i o n 1 8 t o e q u a t i o n 2 2 , a n d t h e n c o m p a r e t h e v a l u e a g a i n s t t h e c h e c k s u m r e g i s t e r . a n o t h e r i s t o p e r i o d i c a l l y r e a d t h e c h e c k s u m r e g i s t e r . i f t w o c o n s e c u t i v e r e a d i n g s d i f f e r , i t c a n b e a s s u m e d t h a t o n e o f t h e r e g i s t e r s h a s c h a n g e d v a l u e a n d t h a t , t h e r e f o r e , t h e a d e 7 8 1 6 c o n f i g u r a t i o n h a s c h a n g e d . t h e r e c o m m e n d e d r e s p o n s e i s t o i n i t i a t e a h a r d w a r e / s o f t w a r e r e s e t t h a t s e t s t h e v a l u e s o f a l l r e g i s t e r s ( i n c l u d i n g t h e r e s e r v e d o n e s ) t o t h e d e f a u l t , a n d t h e n r e i n i t i a l i z e t h e c o n f i g u r a t i o n r e g i s t e r s . 3 1 0 0 1 5 0 1 5 0 0 1 5 3 1 2 5 5 2 4 8 2 4 0 2 3 2 2 2 4 2 1 6 7 0 7 0 7 0 7 0 0 0 7 0 7 4 0 3 2 2 4 1 6 8 7 m a s k 0 m a s k 1 c o m p m o d e r e s e r v e d g a i n i n t e r n a l r e g i s t e r i n t e r n a l r e g i s t e r i n t e r n a l r e g i s t e r i n t e r n a l r e g i s t e r i n t e r n a l r e g i s t e r i n t e r n a l r e g i s t e r l f s r g e n e r a t o r 1 0 3 9 0 - 0 2 0 f i g u r e 3 6 . c h e c k s u m r e g i s t e r c a l c u l a t i o n b 0 l f s r f b g 0 g 1 g 2 g 3 1 b 1 g 3 b 2 b 3 1 a 2 5 5 , a 2 5 4 , . . . . , a 2 , a 1 , a 0 1 0 3 9 0 - 0 2 1 f i g u r e 3 7 . l f s r g e n e r a t o r u s e d i n c h e c k s u m r e g i s t e r c a l c u l a t i o n
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 3 1 o f 4 8 o u t p u t s t h i s s e c t i o n d e s c r i b e s t h e o u t p u t s f r o m t h e a d e 7 8 1 6 . i n t e r r u p t s t h e a d e 7 8 1 6 h a s t w o i n t e r r u p t p i n s , e eaa a n d a a i r q 1 e eaa . e a c h p i n i s m a n a g e d b y a 3 2 - b i t i n t e r r u p t m a s k r e g i s t e r , m a s k 0 a n d m a s k 1 ( a d d r e s s 0 x e 5 0 a a n d a d d r e s s 0 x e 5 0 b ) , r e s p e c t i v e l y . t o e n a b l e a n i n t e r r u p t , a b i t i n t h e m a s k x r e g i s t e r m u s t b e s e t t o 1 . t o d i s a b l e a n i n t e r r u p t , t h e b i t m u s t b e c l e a r e d t o 0 . t w o 3 2 - b i t s t a t u s r e g i s t e r s , s t a t u s 0 a n d s t a t u s 1 ( a d d r e s s 0 x e 5 0 2 a n d a d d r e s s 0 x e 5 0 3 , r e s p e c t i v e l y ) , a r e a s s o c i a t e d w i t h t h e i n t e r r u p t s . w h e n a n i n t e r r u p t e v e n t o c c u r s i n t h e i r q 0 a d e 7 8 1 6 , t h e c o r r e - s p o n d i n g f l a g i n t h e i n t e r r u p t s t a t u s r e g i s t e r i s s e t t o a l o g i c 1 ( s e e t a b l e 3 0 a n d t a b l e 3 1 ) . i f t h e m a s k b i t f o r t h i s i n t e r r u p t i n t h e i n t e r r u p t m a s k r e g i s t e r i s l o g i c 1 , t h e a a i r q x e eaa l o g i c o u t p u t g o e s a c t i v e l o w . t h e f l a g b i t s i n t h e i n t e r r u p t s t a t u s r e g i s t e r a r e s e t , i r r e s p e c t i v e o f t h e s t a t e o f t h e m a s k b i t s . t o d e t e r m i n e t h e s o u r c e o f t h e i n t e r r u p t , t h e m i c r o c o n t r o l l e r m u s t p e r f o r m a r e a d o f t h e c o r r e s p o n d i n g s t a t u s x r e g i s t e r a n d i d e n t i f y w h i c h b i t i s s e t t o 1 . t o e r a s e t h e f l a g i n t h e s t a t u s r e g i s t e r , w r i t e b a c k t o t h e s t a t u s x r e g i s t e r w i t h t h e f l a g s e t t o 1 . a f t e r a n i n t e r r u p t p i n g o e s l o w , t h e s t a t u s r e g i s t e r i s r e a d a n d t h e s o u r c e o f t h e i n t e r r u p t i s i d e n t i f i e d . t h e n , t h e s t a t u s r e g i s t e r i s w r i t t e n b a c k , w i t h n o c h a n g e s , t o c l e a r t h e s t a t u s f l a g t o 0 . t h e a a i r q x e eaa p i n r e m a i n s l o w u n t i l t h e s t a t u s f l a g i s c a n c e l l e d . b y d e f a u l t , a l l i n t e r r u p t s a r e d i s a b l e d , w i t h t h e e x c e p t i o n o f t h e r s t d o n e i n t e r r u p t . t h i s i n t e r r u p t c a n n e v e r b e m a s k e d ( d i s a b l e d ) a n d , t h e r e f o r e , b i t 1 5 ( r s t d o n e ) i n t h e m a s k 1 r e g i s t e r d o e s n o t h a v e a n y f u n c t i o n a l i t y . t h e a a i r q 1 e eaa p i n a l w a y s g o e s l o w , a n d b i t 1 5 ( r s t d o n e ) i n t h e s t a t u s 1 r e g i s t e r i s s e t t o 1 w h e n e v e r a p o w e r - u p o r a h a r d w a r e / s o f t w a r e r e s e t p r o c e s s e n d s . t o c a n c e l t h e r s t d o n e s t a t u s f l a g , t h e s t a t u s 1 r e g i s t e r n u s t b e w r i t t e n w i t h b i t 1 5 ( r s t d o n e ) s e t t o 1 . c o m m u n i c a t i o n s e r i a l i n t e r f a c e s e l e c t i o n a f t e r r e s e t , t h e h s d c p o r t i s a l w a y s d i s a b l e d . c h o o s e b e t w e e n t h e i 2 c a n d s p i p o r t s b y m a n i p u l a t i n g t h e a a s s e eaa / h s a p i n a f t e r p o w e r - u p o r a f t e r a h a r d w a r e r e s e t . i f t h e a a s s e eaa / h s a p i n i s h e l d h i g h , t h e a d e 7 8 1 6 u s e s t h e i 2 c p o r t u n t i l a n e w h a r d w a r e r e s e t i s e x e c u t e d . i f t h e a a s s e eaa / h s a p i n i s t o g g l e d h i g h t o l o w t h r e e t i m e s a f t e r p o w e r - u p o r a f t e r a h a r d w a r e r e s e t , t h e a d e 7 8 1 6 u s e s t h e s p i p o r t u n t i l a n e w h a r d w a r e r e s e t i s e x e c u t e d . t h i s m a n i p u l a t i o n o f t h e a a s s e eaa / h s a p i n c a n b e a c c o m p l i s h e d i n t w o w a y s . t h e f i r s t o p t i o n i s t o u s e t h e a a s s e eaa / h s a p i n o f t h e m a s t e r d e v i c e ( t h a t i s , t h e m i c r o c o n t r o l l e r ) a s a r e g u l a r i / o p i n a n d t o g g l e i t t h r e e t i m e s . t h e s e c o n d o p t i o n i s t o e x e c u t e t h r e e s p i w r i t e o p e r a t i o n s t o a l o c a t i o n i n t h e a d d r e s s s p a c e t h a t i s n o t a l l o c a t e d t o a s p e c i f i c a d e 7 8 1 6 r e g i s t e r ( s u c h a s a d d r e s s 0 x e b f f , w h e r e 8 - b i t w r i t e s c a n b e e x e c u t e d ) . t h e s e w r i t e s a l l o w t h e a a s s e eaa / h s a p i n t o t o g g l e t h r e e t i m e s . s e e t h e s p i w r i t e o p e r a t i o n s e c t i o n f o r d e t a i l s o n t h e w r i t e p r o t o c o l t h a t i s i n v o l v e d . a f t e r t h e s e r i a l p o r t c h o i c e i s c o m p l e t e d , i t m u s t b e l o c k e d . i f i 2 c i s t h e a c t i v e s e r i a l p o r t , b i t 1 ( i 2 c _ l o c k ) o f t h e c o n f i g 2 r e g i s t e r ( a d d r e s s 0 x e c 0 1 ) m u s t b e s e t t o 1 t o l o c k i t i n . f r o m t h e n o n , t h e a d e 7 8 1 6 i g n o r e s s p u r i o u s t o g g l i n g o f t h e a a s s e ea / h s a a p i n , a n d a n e v e n t u a l s w i t c h t o u s e o f t h e s p i p o r t i s n o l o n g e r p o s s i b l e . i f t h e s p i i s t h e a c t i v e s e r i a l p o r t , a n y w r i t e t o t h e c o n f i g 2 r e g i s t e r l o c k s t h e p o r t . f r o m t h e n o n , a s w i t c h t o t h e i 2 c p o r t i s n o l o n g e r p o s s i b l e . t h e f u n c t i o n a l i t y o f t h e a d e 7 8 1 6 i s a c c e s s i b l e v i a s e v e r a l o n - c h i p r e g i s t e r s . t h e c o n t e n t s o f t h e s e r e g i s t e r s c a n b e u p d a t e d o r r e a d , u s i n g e i t h e r t h e i 2 c o r s p i i n t e r f a c e s . t h e h s d c p o r t p r o v i d e s t h e i n s t a n t a n e o u s v a l u e s o f t h e v o l t a g e s a n d c u r r e n t c h a n n e l s . i 2 c - c o m p a t i b l e i n t e r f a c e t h e a d e 7 8 1 6 s u p p o r t s a f u l l y l i c e n s e d i 2 c i n t e r f a c e . t h e i 2 c i n t e r f a c e i s i m p l e m e n t e d a s a f u l l h a r d w a r e s l a v e . s d a i s t h e d a t a i / o p i n , a n d s c l i s t h e s e r i a l c l o c k . t h e s e t w o p i n s a r e s h a r e d w i t h t h e m o s i a n d s c l k p i n s , r e s p e c t i v e l y , o f t h e o n - c h i p s p i i n t e r f a c e . t h e m a x i m u m s e r i a l c l o c k f r e q u e n c y s u p p o r t e d b y t h i s i n t e r f a c e i s 4 0 0 k h z . t h e s d a a n d s c l p i n s a r e u s e d f o r d a t a t r a n s f e r a n d a r e c o n - f i g u r e d i n a w i r e - a n d ? e d f o r m a t t h a t a l l o w s a r b i t r a t i o n i n a m u l t i m a s t e r s y s t e m . t h e t r a n s f e r s e q u e n c e o f a n i 2 c s y s t e m c o n s i s t s o f a m a s t e r d e v i c e i n i t i a t i n g a t r a n s f e r b y g e n e r a t i n g a s t a r t c o n d i t i o n w h i l e t h e b u s i s i d l e . t h e m a s t e r t r a n s m i t s t h e a d d r e s s o f t h e s l a v e d e v i c e a n d t h e d i r e c t i o n o f t h e d a t a t r a n s f e r i n t h e i n i t i a l a d d r e s s t r a n s f e r . i f t h e s l a v e a c k n o w l e d g e s , t h e d a t a t r a n s f e r i s i n i t i a t e d . t h i s c o n t i n u e s u n t i l t h e m a s t e r i s s u e s a s t o p c o n d i t i o n a n d t h e b u s b e c o m e s i d l e . i 2 c w r i t e o p e r a t i o n t h e w r i t e o p e r a t i o n , u s i n g t h e i 2 c i n t e r f a c e o f t h e a d e 7 8 1 6 , i n i t i a t e d w h e n t h e m a s t e r g e n e r a t e s a s t a r t c o n d i t i o n , c o n s i s t s o f o n e b y t e r e p r e s e n t i n g t h e a d d r e s s o f t h e a d e 7 8 1 6 , f o l l o w e d b y t h e 1 6 - b i t a d d r e s s o f t h e t a r g e t r e g i s t e r a n d b y t h e v a l u e o f t h e r e g i s t e r . t h e m o s t s i g n i f i c a n t s e v e n b i t s o f t h e a d d r e s s b y t e c o n s t i t u t e t h e a d d r e s s o f t h e a d e 7 8 1 6 , w h i c h i s 0 1 1 1 0 0 0 b . b i t 0 o f t h e a d d r e s s b y t e i s a r e a d / a a w r i t e e eaa b i t . b e c a u s e t h i s i s a w r i t e o p e r a t i o n , i t m u s t b e c l e a r e d t o 0 ; t h e r e f o r e , t h e f i r s t b y t e o f t h e w r i t e o p e r a t i o n i s 0 x 7 0 . a f t e r e v e r y b y t e i s r e c e i v e d , t h e a d e 7 8 1 6 g e n e r a t e s a n a c k n o w l e d g e . t h e r e g i s t e r c a n b e 8 , 1 6 , o r 3 2 b i t s i n l e n g t h . a f t e r t h e l a s t b i t o f t h e r e g i s t e r i s t r a n s m i t t e d a n d t h e a d e 7 8 1 6 a c k n o w l e d g e s t h e t r a n s f e r , t h e m a s t e r g e n e r a t e s a s t o p c o n d i t i o n . t h e a d d r e s s e s a n d t h e r e g i s t e r c o n t e n t a r e s e n t w i t h t h e m o s t s i g n i f i c a n t b i t f i r s t . s e e f i g u r e 3 9 f o r d e t a i l s o f t h e i 2 c w r i t e o p e r a t i o n .
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 3 2 o f 4 8 i 2 c r e a d o p e r a t i o n t h e r e a d o p e r a t i o n , u s i n g t h e i 2 c i n t e r f a c e o f t h e a d e 7 8 1 6 , i s a c c o m p l i s h e d i n t w o s t a g e s . t h e f i r s t s t a g e s e t s t h e p o i n t e r t o t h e a d d r e s s o f t h e r e g i s t e r ; t h e s e c o n d s t a g e r e a d s t h e c o n t e n t s o f t h e r e g i s t e r ( s e e f i g u r e 4 0 ) . t h e f i r s t s t a g e i s i n i t i a t e d w h e n t h e m a s t e r g e n e r a t e s a s t a r t c o n - d i t i o n . i t c o n s i s t s o f o n e b y t e , r e p r e s e n t i n g t h e a d d r e s s o f t h e a d e 7 8 1 6 , f o l l o w e d b y t h e 1 6 - b i t a d d r e s s o f t h e t a r g e t r e g i s t e r . t h e a d e 7 8 1 6 a c k n o w l e d g e s e v e r y b y t e r e c e i v e d . t h e a d d r e s s b y t e i s s i m i l a r t o t h e a d d r e s s b y t e o f a w r i t e o p e r a t i o n a n d i s e q u a l t o 0 x 7 0 ( s e e t h e i 2 c w r i t e o p e r a t i o n s e c t i o n f o r d e t a i l s ) . a f t e r t h e l a s t b y t e o f t h e r e g i s t e r a d d r e s s i s s e n t a n d a c k n o w l e d g e d b y t h e a d e 7 8 1 6 , t h e s e c o n d s t a g e b e g i n s w i t h t h e m a s t e r g e n e r a t i n g a n e w s t a r t c o n d i t i o n , f o l l o w e d b y a n a d d r e s s b y t e . t h e m o s t s i g n i f i c a n t s e v e n b i t s o f t h i s a d d r e s s b y t e c o n s t i t u t e t h e a d d r e s s o f t h e a d e 7 8 1 6 , w h i c h i s 0 1 1 1 0 0 0 b . b i t 0 o f t h e a d d r e s s b y t e i s a r e a d / a w r i t e ea b i t . b e c a u s e t h i s i s a r e a d o p e r a t i o n , i t m u s t b e s e t t o 1 ; t h e r e f o r e , t h e f i r s t b y t e o f t h e r e a d o p e r a t i o n i s 0 x 7 1 . a f t e r t h i s b y t e i s r e c e i v e d , t h e a d e 7 8 1 6 g e n e r a t e s a n a c k n o w l e d g e . t h e n t h e a d e 7 8 1 6 s e n d s t h e v a l u e o f t h e r e g i s t e r , a n d , a f t e r e v e r y e i g h t b i t s a r e r e c e i v e d , t h e m a s t e r g e n e r a t e s a n a c k n o w l e d g e . a l l t h e b y t e s a r e s e n t w i t h t h e m o s t s i g n i f i c a n t b i t f i r s t . r e g i s t e r s c a n b e 8 , 1 6 , o r 3 2 b i t s . a f t e r t h e l a s t b i t o f t h e r e g i s t e r i s r e c e i v e d , t h e m a s t e r d o e s n o t a c k n o w l e d g e t h e t r a n s f e r b u t , i n s t e a d , g e n e r a t e s a s t o p c o n d i t i o n . s p i - c o m p a t i b l e i n t e r f a c e t h e a d e 7 8 1 6 s p i i s a l w a y s a s l a v e o f t h e c o m m u n i c a t i o n a n d c o n s i s t s o f f o u r p i n s ( w i t h d u a l f u n c t i o n s ) : s c l k / s c l , m o s i / s d a , m i s o / h s d , a n d a s s ea / h s a . t h e f u n c t i o n s u s e d i n t h e s p i - c o m p a t i b l e i n t e r f a c e a r e s c l k , m o s i , m i s o , a n d a s s ea . t h e s e r i a l c l o c k f o r a d a t a t r a n s f e r i s a p p l i e d a t t h e s c l k l o g i c i n p u t . t h i s l o g i c i n p u t h a s a s c h m i t t t r i g g e r i n p u t s t r u c t u r e t h a t a l l o w s t h e u s e o f s l o w r i s i n g ( a n d f a l l i n g ) c l o c k e d g e s . a l l d a t a t r a n s f e r o p e r a t i o n s s y n c h r o n i z e t o t h e s e r i a l c l o c k . d a t a s h i f t s i n t o t h e a d e 7 8 1 6 a t t h e m o s i l o g i c i n p u t o n t h e f a l l i n g e d g e o f s c l k , a n d t h e a d e 7 8 1 6 s a m p l e s i t o n t h e r i s i n g e d g e o f s c l k . d a t a s h i f t s o u t o f t h e a d e 7 8 1 6 a t t h e m i s o l o g i c o u t p u t o n a f a l l i n g e d g e o f s c l k a n d c a n b e s a m p l e d b y t h e m a s t e r d e v i c e o n t h e r a i s i n g e d g e o f s c l k . t h e m o s t s i g n i f i c a n t b i t o f t h e w o r d i s s h i f t e d i n a n d o u t f i r s t . t h e m a x i m u m s e r i a l c l o c k f r e q u e n c y t h a t i s s u p p o r t e d b y t h i s i n t e r f a c e i s 2 . 5 m h z . m i s o s t a y s i n h i g h i m p e d a n c e w h e n n o d a t a i s t r a n s m i t t e d f r o m t h e a d e 7 8 1 6 . f i g u r e 3 8 s h o w s d e t a i l s o f t h e c o n n e c t i o n b e t w e e n t h e a d e 7 8 1 6 s p i a n d a m a s t e r d e v i c e c o n t a i n i n g a s p i i n t e r f a c e . m o s i / s d a m i s o / h s d s c l k / s c l a d e 7 8 1 6 m o s i m i s o s c k s p i d e v i c e s s / h s a s s 1 0 3 9 0 - 0 2 4 f i g u r e 3 8 . c o n n e c t i n g t h e a d e 7 8 1 6 s p i w i t h a s p i d e v i c e a c k n o w l e d g e g e n e r a t e d b y a d e 7 8 1 6 s t a r t s t o p s ac k ac k ac k ac k ac k ac k ac k s 0 1 5 s l a v e a d d r e s s m s 8 b i t s o f r e g i s t e r a d d r e s s l s 8 b i t s o f r e g i s t e r a d d r e s s b y t e 3 ( m s ) o f r e g i s t e r b y t e 2 o f r e g i s t e r b y t e 1 o f r e g i s t e r b y t e 0 ( l s ) o f r e g i s t e r 8 7 0 3 1 1 6 1 5 8 7 0 0 7 1 1 1 0 0 0 0 1 0 3 9 0 - 0 2 2 f i g u r e 3 9 . i 2 c w r i t e o p e r a t i o n o f a 3 2 - b i t r e g i s t e r a c k n o w l e d g e g e n e r a t e d b y a d e 7 8 1 6 a c k n o w l e d g e g e n e r a t e d b y m a s t e r s t a r t s ac k ac k ac k 0 1 5 s l a v e a d d r e s s m s b 8 b i t s o f r e g i s t e r a d d r e s s l s b 8 b i t s o f r e g i s t e r a d d r e s s 8 7 0 1 1 1 0 0 0 0 s t a r t s t o p s ac k ac k ac k ac k s 0 s l a v e a d d r e s s b y t e 3 ( m s b ) o f r e g i s t e r b y t e 2 o f r e g i s t e r b y t e 1 o f r e g i s t e r b y t e 0 ( l s b ) o f r e g i s t e r 3 1 1 6 1 5 8 7 0 0 7 1 1 1 0 0 0 1 a c k n o w l e d g e g e n e r a t e d b y a d e 7 8 1 6 n o ac k 1 0 3 9 0 - 0 2 3 f i g u r e 4 0 . i 2 c r e a d o p e r a t i o n o f a 3 2 - b i t r e g i s t e r
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 3 3 o f 4 8 t h e a s s ea l o g i c i n p u t i s t h e c h i p s e l e c t i n p u t . t h i s i n p u t i s u s e d w h e n m u l t i p l e d e v i c e s s h a r e t h e s e r i a l b u s . d r i v e t h e a s s ea i n p u t l o w f o r t h e e n t i r e d a t a t r a n s f e r o p e r a t i o n . b r i n g i n g a s s ea h i g h d u r i n g a d a t a t r a n s f e r o p e r a t i o n a b o r t s t h e t r a n s f e r a n d p l a c e s t h e s e r i a l b u s i n a h i g h i m p e d a n c e s t a t e . a n e w t r a n s f e r c a n t h e n b e i n i t i a t e d b y r e t u r n i n g t h e a s s ea l o g i c i n p u t t o l o w . h o w e v e r , b e c a u s e a b o r t i n g a d a t a t r a n s f e r b e f o r e c o m p l e t i o n l e a v e s t h e a c c e s s e d r e g i s t e r i n a s t a t e t h a t c a n n o t b e g u a r a n t e e d , t h e v a l u e o f a r e g i s t e r s h o u l d b e v e r i f i e d b y r e a d i n g i t b a c k e a c h t i m e i t i s w r i t t e n . t h e p r o t o c o l i s s i m i l a r t o t h e p r o t o c o l u s e d w i t h t h e i 2 c i n t e r f a c e . s p i r e a d o p e r a t i o n t h e r e a d o p e r a t i o n , u s i n g t h e s p i i n t e r f a c e , i n i t i a t e s w h e n t h e m a s t e r s e t s t h e a s s ea / h s a p i n l o w a n d b e g i n s s e n d i n g o n e b y t e , r e p r e s e n t i n g t h e a d d r e s s o f t h e a d e 7 8 1 6 , o n t h e m o s i l i n e . t h e m a s t e r s e t s d a t a o n t h e m o s i l i n e s t a r t i n g w i t h t h e f i r s t h i g h - t o - l o w t r a n s i t i o n o f s c l k . t h e a d e 7 8 1 6 s p i s a m p l e s d a t a o n t h e l o w - t o - h i g h t r a n s i t i o n s o f s c l k . t h e m o s t s i g n i f i c a n t s e v e n b i t s o f t h e a d d r e s s b y t e c a n h a v e a n y v a l u e , b u t , a s g o o d p r o g r a m m i n g p r a c t i c e , t h e y s h o u l d b e d i f f e r e n t f r o m 0 1 1 1 0 0 0 b , t h e s e v e n b i t s u s e d i n t h e i 2 c p r o t o c o l . b i t 0 ( r e a d / a w r i t e ea ) o f t h e a d d r e s s b y t e m u s t b e s e t t o 1 f o r a r e a d o p e r a t i o n . n e x t , t h e m a s t e r s e n d s t h e 1 6 - b i t a d d r e s s o f t h e r e g i s t e r t o b e r e a d . a f t e r t h e a d e 7 8 1 6 r e c e i v e s t h e l a s t a d d r e s s b i t o f t h e r e g i s t e r o n a l o w - t o - h i g h t r a n s i t i o n o f s c l k , i t b e g i n s t o t r a n s m i t i t s c o n t e n t s o n t h e m i s o l i n e w h e n t h e n e x t s c l k h i g h - t o - l o w t r a n s i t i o n o c c u r s ; t h u s , t h e m a s t e r c a n s a m p l e t h e d a t a o n a l o w - t o - h i g h s c l k t r a n s i t i o n . a f t e r t h e m a s t e r r e c e i v e s t h e l a s t b i t , i t s e t s t h e a s s ea a n d s c l k l i n e s h i g h , a n d t h e c o m m u n i c a t i o n e n d s . t h e d a t a l i n e s , m o s i a n d m i s o , g o i n t o a h i g h i m p e d a n c e s t a t e ( s e e f i g u r e 4 1 ) . s p i w r i t e o p e r a t i o n t h e w r i t e o p e r a t i o n , u s i n g t h e s p i i n t e r f a c e , i n i t i a t e s w h e n t h e m a s t e r s e t s t h e a s s ea / h s a p i n l o w a n d b e g i n s s e n d i n g o n e b y t e , r e p r e s e n t i n g t h e a d d r e s s o f t h e a d e 7 8 1 6 , o n t h e m o s i l i n e . t h e m a s t e r s e t s d a t a o n t h e m o s i l i n e , s t a r t i n g w i t h t h e f i r s t h i g h - t o - l o w t r a n s i t i o n o f s c l k . t h e s p i s a m p l e s d a t a o n t h e l o w - t o - h i g h t r a n s i t i o n s o f s c l k . t h e m o s t s i g n i f i c a n t s e v e n b i t s o f t h e a d d r e s s b y t e c a n h a v e a n y v a l u e , b u t , a s a g o o d p r o g r a m m i n g p r a c t i c e , t h e y s h o u l d b e d i f f e r e n t f r o m 0 1 1 1 0 0 0 b , t h e s e v e n b i t s t h a t a r e u s e d i n t h e i 2 c p r o t o c o l . b i t 0 ( r e a d / a w r i t e ea ) o f t h e a d d r e s s b y t e m u s t b e 0 f o r a w r i t e o p e r a t i o n . n e x t , t h e m a s t e r s e n d s t h e 1 6 - b i t a d d r e s s o f t h e r e g i s t e r t h a t i s w r i t t e n a n d t h e 3 2 - , 1 6 - , o r 8 - b i t v a l u e o f t h a t r e g i s t e r w i t h o u t l o s i n g a n y s c l k c y c l e . a f t e r t h e l a s t b i t i s t r a n s - m i t t e d , t h e m a s t e r s e t s t h e a s s ea a n d s c l k l i n e s h i g h a t t h e e n d o f t h e s c l k c y c l e a n d t h e c o m m u n i c a t i o n e n d s . t h e d a t a l i n e s , m o s i a n d m i s o , g o i n t o a h i g h i m p e d a n c e s t a t e ( s e e f i g u r e 4 2 ) . 1 0 1 5 1 4 s c l k m o s i m i s o 1 0 3 1 3 0 1 0 0 0 0 0 0 0 r e g i s t e r v a l u e r e g i s t e r a d d r e s s s s 1 0 3 9 0 - 0 2 5 f i g u r e 4 1 . s p i r e a d o p e r a t i o n o f a 3 2 - b i t r e g i s t e r 0 1 5 1 4 s c l k m o s i 1 0 3 1 3 0 1 0 0 0 0 0 0 0 0 r e g i s t e r a d d r e s s r e g i s t e r v a l u e s s 1 0 3 9 0 - 0 2 6 f i g u r e 4 2 . s p i w r i t e o p e r a t i o n o f a 3 2 - b i t r e g i s t e r
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 3 4 o f 4 8 h s d c i n t e r f a c e t h e h i g h s p e e d d a t a c a p t u r e ( h s d c ) i n t e r f a c e i s d i s a b l e d b y d e f a u l t . i t c a n b e u s e d o n l y i f t h e a d e 7 8 1 6 i s c o n f i g u r e d w i t h a n i 2 c i n t e r f a c e . t h e a d e 7 8 1 6 s p i i n t e r f a c e c a n n o t b e u s e d s i m u l t a n e o u s l y w i t h t h e h s d c p o r t . b i t 6 ( h s d c e n ) i n t h e c o n f i g r e g i s t e r ( a d d r e s s 0 x e 6 1 8 ) a c t i v a t e s h s d c w h e n s e t t o 1 . i f t h e h s d c e n b i t i s c l e a r e d t o 0 , t h e d e f a u l t v a l u e , t h e h s d c i n t e r f a c e i s d i s a b l e d . s e t t i n g t h e h s d c e n b i t t o 1 w h e n t h e s p i i s i n u s e d o e s n o t h a v e a n y e f f e c t . t h e h s d c p o r t i s a n i n t e r f a c e f o r s e n d i n g u p t o f o u r 3 2 - b i t w o r d s t o a n e x t e r n a l d e v i c e ( u s u a l l y a m i c r o p r o c e s s o r o r a d s p ) . t h e w o r d s r e p r e s e n t t h e i n s t a n t a n e o u s v a l u e s o f t h e c u r r e n t s a n d v o l t a g e . t h e r e g i s t e r s t h a t a r e t r a n s m i t t e d a r e i a w v / i d w v , i b w v / i e w v , i c w v / i f w v , a n d v w v . a l l a r e 2 4 - b i t r e g i s t e r s t h a t a r e s i g n e x t e n d e d t o 3 2 b i t s . t h e h s d c p o r t c a n b e i n t e r f a c e d w i t h t h e s p i o r s i m i l a r i n t e r f a c e s . h s d c i s a l w a y s a m a s t e r o f t h e c o m m u n i c a t i o n a n d c o n s i s t s o f t h r e e p i n s : h s a , h s d , a n d h s c l k . h s a r e p r e s e n t s t h e s e l e c t s i g n a l . i t s t a y s a c t i v e l o w o r h i g h w h e n a w o r d i s t r a n s m i t t e d , a n d i t i s u s u a l l y c o n n e c t e d t o t h e s e l e c t p i n o f t h e s l a v e . h s d s e n d s d a t a t o t h e s l a v e , a n d i t i s u s u a l l y c o n n e c t e d t o t h e d a t a i n p u t p i n o f t h e s l a v e . h s c l k i s t h e s e r i a l c l o c k l i n e t h a t i s g e n e r a t e d b y t h e a d e 7 8 1 6 , a n d i t i s u s u a l l y c o n n e c t e d t o t h e s e r i a l c l o c k i n p u t o f t h e s l a v e . f i g u r e 4 3 s h o w s t h e c o n n e c t i o n s b e t w e e n t h e a d e 7 8 1 6 h s d c a n d s l a v e d e v i c e s c o n t a i n i n g a s p i i n t e r f a c e . m i s o / h s d h s c l k a d e 7 8 1 6 m i s o s c k s p i d e v i c e s s / h s a s s 1 0 3 9 0 - 0 2 7 f i g u r e 4 3 . c o n n e c t i n g t h e a d e 7 8 1 6 h s d c w i t h a s p i t h e h s d c c o m m u n i c a t i o n i s m a n a g e d b y t h e h s d c _ c f g r e g i s t e r , a d d r e s s 0 x e 7 0 6 ( s e e t a b l e 2 8 ) . i t i s r e c o m m e n d e d t h a t t h e h s d c _ c f g r e g i s t e r b e s e t t o t h e d e s i r e d v a l u e b e f o r e e n a b l i n g t h e p o r t , u s i n g b i t 6 ( h s d c e n ) i n t h e c o n f i g r e g i s t e r . i n t h i s w a y , t h e s t a t e o f v a r i o u s p i n s b e l o n g i n g t o t h e h s d c p o r t d o n o t t a k e l e v e l s t h a t a r e i n c o n s i s t e n t w i t h t h e d e s i r e d h s d c b e h a v i o r . a f t e r a h a r d w a r e r e s e t o r p o w e r - u p , t h e m i s o / h s d a n d a s s ea / h s a p i n s a r e s e t h i g h . b i t 0 ( h c l k ) i n t h e h s d c _ c f g r e g i s t e r d e t e r m i n e s t h e s e r i a l c l o c k f r e q u e n c y o f t h e h s d c c o m m u n i c a t i o n . w h e n h c l k i s 0 ( t h e d e f a u l t v a l u e ) , t h e c l o c k f r e q u e n c y i s 8 m h z . w h e n h c l k i s 1 , t h e c l o c k f r e q u e n c y i s 4 m h z . a b i t o f d a t a i s t r a n s m i t t e d f o r e v e r y h s c l k h i g h - t o - l o w t r a n s i t i o n . t h e s l a v e d e v i c e t h a t r e c e i v e s d a t a f r o m h s d c s a m p l e s t h e h s d l i n e o n t h e l o w - t o - h i g h t r a n s i t i o n o f h s c l k . t h e w o r d s c a n b e t r a n s m i t t e d a s 3 2 - b i t o r 8 - b i t p a c k a g e s . w h e n b i t 1 ( h s i z e ) i n t h e h s d c _ c f g r e g i s t e r i s 0 ( t h e d e f a u l t v a l u e ) , t h e w o r d s a r e t r a n s m i t t e d a s 3 2 - b i t p a c k a g e s . w h e n b i t h s i z e i s 1 , t h e r e g i s t e r s a r e t r a n s m i t t e d a s 8 - b i t p a c k a g e s . t h e h s d c i n t e r f a c e t r a n s m i t s t h e w o r d s m s b f i r s t . w h e n b i t 2 ( h g a p ) i s s e t t o 1 , a g a p o f s e v e n h s c l k c y c l e s i s i n t r o d u c e d b e t w e e n p a c k a g e s . w h e n t h e h g a p b i t i s c l e a r e d t o 0 ( t h e d e f a u l t v a l u e ) , n o g a p i s i n t r o d u c e d b e t w e e n p a c k a g e s a n d t h e c o m m u n i c a t i o n t i m e i s s h o r t e s t . i n t h i s c a s e , h s i z e d o e s n o t h a v e a n y i n f l u e n c e o n t h e c o m m u n i c a t i o n , a n d a d a t a b i t i s p l a c e d o n t h e h s d l i n e w i t h e v e r y h s c l k h i g h - t o - l o w t r a n s i t i o n . f o r c o r r e c t o p e r a t i o n , b i t s [ 4 : 3 ] ( h x f e r [ 1 : 0 ] ) m u s t b e s e t t o a v a l u e o f 0 1 b . t h e w o r d s r e p r e s e n t i n g t h e i n s t a n t a n e o u s v a l u e s o f c u r r e n t s a n d v o l t a g e a r e t r a n s m i t t e d i n t h e f o l l o w i n g o r d e r : i a w v / i d w v , v w v , i b w v / i e w v , v w v , i c v w / i f w v , a n d v w v , f o l l o w e d b y o n e 3 2 - b i t w o r d o f a l l 0 s . n o t e t h a t t h e v o l t a g e w a v e f o r m i s s e n t t h r e e t i m e s . b i t 1 4 ( c h a n n e l _ s e l ) o f t h e c o m p m o d e r e g i s t e r ( a d d r e s s 0 x e 6 0 e ) c a n b e u s e d t o s e l e c t w h i c h g r o u p o f c u r r e n t c h a n n e l s i s t r a n s m i t t e d ( s e e t h e s e l e c t i n g a c u r r e n t c h a n n e l g r o u p s e c t i o n ) . b i t 5 ( h s a p o l ) o f t h e h s d c _ c f g r e g i s t e r d e t e r m i n e s t h e h s a f u n c t i o n p o l a r i t y o f t h e a s s ea / h s a p i n d u r i n g c o m m u n i c a t i o n . w h e n t h e h s a p o l b i t i s 0 ( t h e d e f a u l t v a l u e ) , h s a i s a c t i v e l o w d u r i n g t h e c o m m u n i c a t i o n . t h i s m e a n s t h a t h s a s t a y s h i g h w h e n n o c o m m u n i c a t i o n i s i n p r o g r e s s . w h e n t h e c o m m u n i c a t i o n s t a r t s , h s a g o e s l o w a n d s t a y s l o w u n t i l t h e c o m m u n i c a t i o n e n d s . t h e n i t g o e s b a c k t o h i g h . w h e n h s a p o l i s 1 , t h e h s a f u n c t i o n o f t h e a s s ea / h s a p i n i s a c t i v e h i g h d u r i n g t h e c o m m u n i c a t i o n . t h i s m e a n s t h a t h s a s t a y s l o w w h e n n o c o m m u n i c a t i o n i s i n p r o g r e s s . w h e n t h e c o m m u n i c a t i o n s t a r t s , h s a g o e s h i g h a n d s t a y s h i g h u n t i l t h e c o m m u n i c a t i o n e n d s ; t h e n i t g o e s b a c k t o l o w . b i t s [ 7 : 6 ] o f t h e h s d c _ c f g r e g i s t e r a r e r e s e r v e d . a n y v a l u e w r i t t e n i n t o t h e s e b i t s h a s n o c o n s e q u e n c e o n h s d c b e h a v i o r . f i g u r e 4 4 s h o w s t h e h s d c t r a n s f e r p r o t o c o l f o r h g a p = 0 , h x f e r [ 1 : 0 ] = 0 1 , a n d h s a p o l = 0 . n o t e t h a t t h e h s d c i n t e r f a c e s e t s a d a t a b i t o n t h e h s d l i n e e v e r y h s c l k h i g h - t o - l o w t r a n s i t i o n , a n d t h e v a l u e o f b i t h s i z e i s i r r e l e v a n t . f i g u r e 4 5 s h o w s t h e h s d c t r a n s f e r p r o t o c o l f o r h s i z e = 0 , h g a p = 1 , h x f e r [ 1 : 0 ] = 0 1 , a n d h s a p o l = 0 . n o t e t h a t t h e h s d c i n t e r f a c e i n t r o d u c e s a g a p o f s e v e n h s c l k c y c l e s b e t w e e n e v e r y 3 2 - b i t w o r d . f i g u r e 4 6 s h o w s t h e h s d c t r a n s f e r p r o t o c o l f o r h s i z e = 1 , h g a p = 1 , h x f e r [ 1 : 0 ] = 0 1 , a n d h s a p o l = 0 . n o t e t h a t t h e h s d c i n t e r f a c e i n t r o d u c e s a g a p o f s e v e n h s c l k c y c l e s b e t w e e n e v e r y 8 - b i t w o r d . s e e t a b l e 2 8 f o r t h e h s d c _ c f g r e g i s t e r a n d d e s c r i p t i o n s f o r t h e h c l k , h s i z e , h g a p , h x f e r [ 1 : 0 ] , a n d h s a p o l b i t s .
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 3 5 o f 4 8 t a b l e 1 1 l i s t s t h e t i m e t h a t i s r e q u i r e d t o e x e c u t e a n h s d c d a t a t r a n s f e r f o r a l l h s d c _ c f g r e g i s t e r s e t t i n g s . t a b l e 1 1 . c o m m u n i c a t i o n t i m e s f o r v a r i o u s h s d c s e t t i n g s h x f e r [ 1 : 0 ] h g a p h s i z e 1 h c l k c o m m u n i c a t i o n t i m e ( s ) 0 1 0 n / a 0 2 8 0 1 0 n / a 1 5 6 0 1 1 0 0 3 3 . 2 5 0 1 1 0 1 6 6 . 5 0 1 1 1 0 5 1 . 6 2 5 0 1 1 1 1 1 0 3 . 2 5 1 n / a m e a n s n o t a p p l i c a b l e . h s c l k h s d h s a 0 3 1 0 3 1 0 3 1 0 3 1 i a w v / i d w v ( 3 2 ) v w v ( 3 2 ) i b w v / i e w v ( 3 2 ) 0 0 0 0 0 0 0 ( 3 2 ) 1 0 3 9 0 - 0 2 8 f i g u r e 4 4 . h s d c c o m m u n i c a t i o n f o r h g a p = 0 , h x f e r [ 1 : 0 ] = 0 1 , a n d h s a p o l = 0 ; h s i z e i s i r r e l e v a n t h s c l k h s d h s a 0 3 1 0 3 1 0 3 1 i a w v / i d w v ( 3 2 ) 7 h s c l k c y c l e s v w v ( 3 2 ) i b w v / i e w v ( 3 2 ) 7 h s c l k c y c l e s 0 3 1 0 0 0 0 0 0 0 0 ( 3 2 ) 1 0 3 9 0 - 0 2 9 f i g u r e 4 5 . h s d c c o m m u n i c a t i o n f o r h s i z e = 0 , h g a p = 1 , h x f e r [ 1 : 0 ] = 0 1 , a n d h s a p o l = 0 h s c l k h s d h s a 2 4 3 1 1 6 2 3 8 1 5 0 7 i a w v / i d w v ( b y t e 3 ) 7 h s c l k c y c l e s i a w v / i d w v ( b y t e 2 ) i a w v / i d w v ( b y t e 1 ) 0 0 ( b y t e 0 ) 7 h s c l k c y c l e s 1 0 3 9 0 - 0 3 0 f i g u r e 4 6 . h s d c c o m m u n i c a t i o n f o r h s i z e = 1 , h g a p = 1 , h x f e r [ 1 : 0 ] = 0 1 , a n d h s a p o l = 0
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 3 6 o f 4 8 r e g i s t e r s r e g i s t e r p r o t e c t i o n t o p r o t e c t t h e i n t e g r i t y o f t h e d a t a s t o r e d i n t h e d a t a m e m o r y ( l o c a t e d a t a d d r e s s 0 x 4 3 8 0 t o a d d r e s s 0 x 4 3 b e ) , a w r i t e p r o t e c t i o n m e c h a n i s m i s a v a i l a b l e . b y d e f a u l t , t h e p r o t e c t i o n i s d i s a b l e d , a n d r e g i s t e r s t h a t a r e l o c a t e d b e t w e e n a d d r e s s 0 x 4 3 8 0 a n d a d d r e s s 0 x 4 3 b e c a n b e w r i t t e n w i t h o u t r e s t r i c t i o n . w h e n t h e p r o t e c t i o n i s e n a b l e d , n o w r i t e s t o t h e s e r e g i s t e r s a r e a l l o w e d . r e g i s t e r s c a n a l w a y s b e r e a d , w i t h o u t r e s t r i c t i o n , i n d e p e n d e n t o f t h e w r i t e p r o t e c t i o n s t a t e . t o e n a b l e t h e p r o t e c t i o n , w r i t e 0 x a d t o a n i n t e r n a l 8 - b i t r e g i s t e r t h a t i s l o c a t e d a t a d d r e s s 0 x e 7 f e , f o l l o w e d b y a w r i t e o f 0 x 8 0 t o a n i n t e r n a l 8 - b i t r e g i s t e r l o c a t e d a t a d d r e s s 0 x e 7 e 3 . i t i s r e c o m m e n d e d t h a t t h e w r i t e p r o t e c t i o n b e e n a b l e d b e f o r e s t a r t i n g t h e d s p . i f a n y r e g i s t e r r e q u i r e s c h a n g i n g a f t e r t h i s t i m e , d i s a b l e t h e p r o t e c t i o n , c h a n g e t h e v a l u e , a n d t h e n r e e n a b l e t h e p r o t e c t i o n . t h e r e i s n o n e e d t o s t o p t h e d s p t o c h a n g e t h e s e r e g i s t e r s . t o d i s a b l e t h e p r o t e c t i o n , w r i t e 0 x a d t o a n i n t e r n a l 8 - b i t r e g i s t e r t h a t i s l o c a t e d a t a d d r e s s 0 x e 7 f e , f o l l o w e d b y a w r i t e o f 0 x 0 0 t o a n i n t e r n a l 8 - b i t r e g i s t e r t h a t i s l o c a t e d a t a d d r e s s 0 x e 7 e 3 . r e g i s t e r f o r m a t t h e a d e 7 8 1 6 i n c l u d e s 8 - , 1 6 - , a n d 3 2 - b i t , s i g n e d a n d u n s i g n e d r e g i s t e r s . a l l s i g n e d r e g i s t e r s a r e i n t w o s c o m p l e m e n t f o r m a t . s o m e o f t h e i n t e r n a l m e a s u r e m e n t s a r e 2 4 b i t s l o n g a n d h a v e b e e n e x t e n d e d t o 3 2 b i t s p r i o r t o c o m m u n i c a t i o n . t h i s e x t e n s i o n i s a c c o m p l i s h e d i n t h r e e d i f f e r e n t w a y s : s i g n e x t e n d i n g ( s e ) , z e r o p a d d i n g ( z p ) , o r z e r o p a d d e d a n d s i g n e x t e n d e d ( z p s e ) . w h e n s i g n e x t e n d i n g i s u s e d , t h e s i g n b i t ( b i t 2 3 ) o f t h e t w o s c o m p l e m e n t s i g n e d n u m b e r i s d u p l i c a t e d i n t h e u p p e r m o s t b y t e p r i o r t o c o m m u n i c a t i o n . z e r o p a d d i n g i s a c h i e v e d b y w r i t i n g 0 s i n t o t h e u p p e r m o s t b y t e p r i o r t o t r a n s m i s s i o n . t h i s f o r m a t i s u s e d f o r u n s i g n e d n u m b e r s o n l y . z e r o p a d d e d a n d s i g n e x t e n d e d f o r m a t s a r e s h o w n i n f i g u r e 4 7 a n d i n v o l v e p a d d i n g t h e m o s t s i g n i f i c a n t b i t s w i t h 0 s a n d s i g n e x t e n d i n g b i t s [ 2 7 : 2 4 ] . 3 1 2 8 2 7 2 4 2 3 0 2 4 - b i t n u m b e r 0 0 0 0 b i t s [ 2 7 : 2 4 ] a r e e q u a l t o b i t 2 3 b i t 2 3 i s a s i g n b i t 1 0 3 9 0 - 0 3 1 f i g u r e 4 7 . z p s e c o m m u n i c a t i o n f o r m a t t h e c o m m u n i c a t i o n f o r m a t o f e a c h r e g i s t e r i s s p e c i f i e d i n t h e r e g i s t e r m a p s s e c t i o n ( s e e t a b l e 1 2 t h r o u g h t a b l e 1 5 ) .
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 3 7 o f 4 8 r e g i s t e r m a p s t a b l e 1 2 . c a l i b r a t i o n a n d p o w e r q u a l i t y r e g i s t e r s a d d r e s s r e g i s t e r n a m e r / w 1 b i t l e n g t h b i t l e n g t h d u r i n g c o m m u n i c a t i o n 2 t y p e 3 d e f a u l t v a l u e d e s c r i p t i o n 0 x 4 3 8 0 v g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 v o l t a g e g a i n a d j u s t m e n t . 0 x 4 3 8 1 i a g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c u r r e n t c h a n n e l a c u r r e n t g a i n a d j u s t m e n t . 0 x 4 3 8 2 i b g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c u r r e n t c h a n n e l b c u r r e n t g a i n a d j u s t m e n t . 0 x 4 3 8 3 i c g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c u r r e n t c h a n n e l c c u r r e n t g a i n a d j u s t m e n t . 0 x 4 3 8 4 i d g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c u r r e n t c h a n n e l d c u r r e n t g a i n a d j u s t m e n t . 0 x 4 3 8 5 i e g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c u r r e n t c h a n n e l e c u r r e n t g a i n a d j u s t m e n t . 0 x 4 3 8 6 i f g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c u r r e n t c h a n n e l f c u r r e n t g a i n a d j u s t m e n t . 0 x 4 3 8 7 r e s e r v e d r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 t h i s r e g i s t e r s h o u l d b e i g n o r e d . 0 x 4 3 8 8 d i c o e f f r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 r e g i s t e r u s e d i n t h e d i g i t a l i n t e g r a t o r a l g o r i t h m . w h e n t h e i n t e g r a t o r i s e n a b l e d , t h i s r e g i s t e r s h o u l d b e s e t t o 0 x f f f 8 0 0 0 . 0 x 4 3 8 9 h p f d i s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 d i s a b l e s t h e h i g h - p a s s f i l t e r f o r a l l c h a n n e l s . 0 x 4 3 8 a v r m s o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 v o l t a g e r m s o f f s e t . 0 x 4 3 8 b i a r m s o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c u r r e n t c h a n n e l a c u r r e n t r m s o f f s e t . 0 x 4 3 8 c i b r m s o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c u r r e n t c h a n n e l b c u r r e n t r m s o f f s e t . 0 x 4 3 8 d i c r m s o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c u r r e n t c h a n n e l c c u r r e n t r m s o f f s e t . 0 x 4 3 8 e i d r m s o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c u r r e n t c h a n n e l d c u r r e n t r m s o f f s e t . 0 x 4 3 8 f i e r m s o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c u r r e n t c h a n n e l e c u r r e n t r m s o f f s e t . 0 x 4 3 9 0 i f r m s o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c u r r e n t c h a n n e l f c u r r e n t r m s o f f s e t . 0 x 4 3 9 1 a w g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l a a c t i v e p o w e r g a i n a d j u s t . 0 x 4 3 9 2 a w a t t o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l a a c t i v e p o w e r o f f s e t a d j u s t . 0 x 4 3 9 3 b w g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l b a c t i v e p o w e r g a i n a d j u s t . 0 x 4 3 9 4 b w a t t o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l b a c t i v e p o w e r o f f s e t a d j u s t . 0 x 4 3 9 5 c w g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l c a c t i v e p o w e r g a i n a d j u s t . 0 x 4 3 9 6 c w a t t o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l c a c t i v e p o w e r o f f s e t a d j u s t . 0 x 4 3 9 7 d w g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l d a c t i v e p o w e r g a i n a d j u s t 0 x 4 3 9 8 d w a t t o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l d a c t i v e p o w e r o f f s e t a d j u s t . 0 x 4 3 9 9 e w g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l e a c t i v e p o w e r g a i n a d j u s t . 0 x 4 3 9 a e w a t t o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l e a c t i v e p o w e r o f f s e t a d j u s t . 0 x 4 3 9 b f w g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l f a c t i v e p o w e r g a i n a d j u s t . 0 x 4 3 9 c f w a t t o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l f a c t i v e p o w e r o f f s e t a d j u s t . 0 x 4 3 9 d a v a r g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l a r e a c t i v e p o w e r g a i n a d j u s t . 0 x 4 3 9 e a v a r o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l a r e a c t i v e p o w e r o f f s e t a d j u s t . 0 x 4 3 9 f b v a r g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l b r e a c t i v e p o w e r g a i n a d j u s t . 0 x 4 3 a 0 b v a r o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l b r e a c t i v e p o w e r o f f s e t a d j u s t . 0 x 4 3 a 1 c v a r g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l c r e a c t i v e p o w e r g a i n a d j u s t . 0 x 4 3 a 2 c v a r o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l c r e a c t i v e p o w e r o f f s e t a d j u s t . 0 x 4 3 a 3 d v a r g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l d r e a c t i v e p o w e r g a i n a d j u s t . 0 x 4 3 a 4 d v a r o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l d r e a c t i v e p o w e r o f f s e t a d j u s t . 0 x 4 3 a 5 e v a r g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l e r e a c t i v e p o w e r g a i n a d j u s t . 0 x 4 3 a 6 e v a r o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l e r e a c t i v e p o w e r o f f s e t a d j u s t . 0 x 4 3 a 7 f v a r g a i n r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l f r e a c t i v e p o w e r g a i n a d j u s t . 0 x 4 3 a 8 f v a r o s r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 c h a n n e l f r e a c t i v e p o w e r o f f s e t a d j u s t . 0 x 4 3 a 9 r e s e r v e d t h i s r e g i s t e r s h o u l d b e i g n o r e d . 0 x 4 3 a a r e s e r v e d t h i s r e g i s t e r s h o u l d b e i g n o r e d . 0 x 4 3 a b w t h r 1 r / w 2 4 3 2 z p u 0 x 0 0 0 0 0 0 m o s t s i g n i f i c a n t 2 4 b i t s o f t h e w t h r [ 4 7 : 0 ] t h r e s h o l d . 0 x 4 3 a c w t h r 0 r / w 2 4 3 2 z p u 0 x 0 0 0 0 0 0 l e a s t s i g n i f i c a n t 2 4 b i t s o f t h e w t h r [ 4 7 : 0 ] t h r e s h o l d .
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 3 8 o f 4 8 a d d r e s s r e g i s t e r n a m e r / w 1 b i t l e n g t h b i t l e n g t h d u r i n g c o m m u n i c a t i o n 2 t y p e 3 d e f a u l t v a l u e d e s c r i p t i o n 0 x 4 3 a d v a r t h r 1 r / w 2 4 3 2 z p u 0 x 0 0 0 0 0 0 m o s t s i g n i f i c a n t 2 4 b i t s o f t h e v a r t h r [ 4 7 : 0 ] t h r e s h o l d . 0 x 4 3 a e v a r t h r 0 r / w 2 4 3 2 z p u 0 x 0 0 0 0 0 0 l e a s t s i g n i f i c a n t 2 4 b i t s o f t h e v a r t h r [ 4 7 : 0 ] t h r e s h o l d . 0 x 4 3 a f a p n o l o a d r w 2 4 3 2 z p u 0 x 0 0 0 0 0 0 n o l o a d t h r e s h o l d i n t h e a c t i v e p o w e r d a t a p a t h . 0 x 4 3 b 0 v a r n o l o a d r / w 2 4 3 2 z p s e s 0 x 0 0 0 0 0 0 n o l o a d t h r e s h o l d i n t h e r e a c t i v e p o w e r d a t a p a t h . 0 x 4 3 b 1 p c f _ a _ c o e f f r / w 2 4 3 2 z p s e u 0 x 0 0 0 0 0 0 p h a s e c a l i b r a t i o n c o e f f i c i e n t f o r c h a n n e l a . s e t t o 0 x 4 0 0 c a 4 f o r a 5 0 h z s y s t e m a n d 0 x 4 0 1 2 3 5 f o r a 6 0 h z s y s t e m . 0 x 4 3 b 2 p c f _ b _ c o e f f r / w 2 4 3 2 z p s e u 0 x 0 0 0 0 0 0 p h a s e c a l i b r a t i o n c o e f f i c i e n t f o r c h a n n e l b . s e t t o 0 x 4 0 0 c a 4 f o r a 5 0 h z s y s t e m a n d 0 x 4 0 1 2 3 5 f o r a 6 0 h z s y s t e m . 0 x 4 3 b 3 p c f _ c _ c o e f f r / w 2 4 3 2 z p s e u 0 x 0 0 0 0 0 0 p h a s e c a l i b r a t i o n c o e f f i c i e n t f o r c h a n n e l c . s e t t o 0 x 4 0 0 c a 4 f o r a 5 0 h z s y s t e m a n d 0 x 4 0 1 2 3 5 f o r a 6 0 h z s y s t e m . 0 x 4 3 b 4 p c f _ d _ c o e f f r / w 2 4 3 2 z p s e u 0 x 0 0 0 0 0 0 p h a s e c a l i b r a t i o n c o e f f i c i e n t f o r c h a n n e l d . s e t t o 0 x 4 0 0 c a 4 f o r a 5 0 h z s y s t e m a n d 0 x 4 0 1 2 3 5 f o r a 6 0 h z s y s t e m . 0 x 4 3 b 5 p c f _ e _ c o e f f r / w 2 4 3 2 z p s e u 0 x 0 0 0 0 0 0 p h a s e c a l i b r a t i o n c o e f f i c i e n t f o r c h a n n e l e . s e t t o 0 x 4 0 0 c a 4 f o r a 5 0 h z s y s t e m a n d 0 x 4 0 1 2 3 5 f o r a 6 0 h z s y s t e m . 0 x 4 3 b 6 p c f _ f _ c o e f f r / w 2 4 3 2 z p s e u 0 x 0 0 0 0 0 0 p h a s e c a l i b r a t i o n c o e f f i c i e n t f o r c h a n n e l f . s e t t o 0 x 4 0 0 c a 4 f o r a 5 0 h z s y s t e m a n d 0 x 4 0 1 2 3 5 f o r a 6 0 h z s y s t e m . 0 x 4 3 b 7 t o 0 x 4 3 b f r e s e r v e d n / a n / a n / a n / a 0 x 0 0 0 0 0 0 t h e s e r e g i s t e r s s h o u l d b e i g n o r e d . 0 x 4 3 c 0 v r m s r 2 4 3 2 z p s n / a v o l t a g e r m s v a l u e . 0 x 4 3 c 1 i a r m s r 2 4 3 2 z p s n / a c u r r e n t c h a n n e l a c u r r e n t r m s v a l u e . 0 x 4 3 c 2 i b r m s r 2 4 3 2 z p s n / a c u r r e n t c h a n n e l b c u r r e n t r m s v a l u e . 0 x 4 3 c 3 i c r m s r 2 4 3 2 z p s n / a c u r r e n t c h a n n e l c c u r r e n t r m s v a l u e . 0 x 4 3 c 4 i d r m s r 2 4 3 2 z p s n / a c u r r e n t c h a n n e l d c u r r e n t r m s v a l u e . 0 x 4 3 c 5 i e r m s r 2 4 3 2 z p s n / a c u r r e n t c h a n n e l e c u r r e n t r m s v a l u e . 0 x 4 3 c 6 i f r m s r 2 4 3 2 z p s n / a c u r r e n t c h a n n e l f c u r r e n t r m s v a l u e . 0 x 4 3 c 7 t o 0 x 4 3 f f r e s e r v e d t h e s e r e g i s t e r s s h o u l d b e i g n o r e d . 1 r i s r e a d , a n d w i s w r i t e . 2 f o r m o r e i n f o r m a t i o n , s e e t h e r e g i s t e r f o r m a t s e c t i o n . 3 u i n d i c a t e s a n u n s i g n e d r e g i s t e r , a n d s i n d i c a t e s a s i g n e d r e g i s t e r i n t w o s c o m p l e m e n t f o r m a t . t a b l e 1 3 . r u n r e g i s t e r a d d r e s s r e g i s t e r n a m e r / w 1 b i t l e n g t h b i t l e n g t h d u r i n g c o m m u n i c a t i o n t y p e 2 d e f a u l t v a l u e d e s c r i p t i o n 0 x e 2 2 8 r u n r / w 1 6 1 6 u 0 x 0 0 0 0 t h i s r e g i s t e r s t a r t s a n d s t o p s t h e d s p . 1 r i s r e a d , a n d w i s w r i t e . 2 u i n d i c a t e s a n u n s i g n e d r e g i s t e r .
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 3 9 o f 4 8 t a b l e 1 4 . b i l l a b l e r e g i s t e r s a d d r e s s r e g i s t e r n a m e r / w 1 b i t l e n g t h b i t l e n g t h d u r i n g c o m m u n i c a t i o n t y p e 2 d e f a u l t v a l u e d e s c r i p t i o n 0 x e 4 0 0 a w a t t h r r 3 2 3 2 s 0 x 0 0 0 0 0 0 0 0 c h a n n e l a a c t i v e e n e r g y a c c u m u l a t i o n . 0 x e 4 0 1 b w a t t h r r 3 2 3 2 s 0 x 0 0 0 0 0 0 0 0 c h a n n e l b a c t i v e e n e r g y a c c u m u l a t i o n . 0 x e 4 0 2 c w a t t h r r 3 2 3 2 s 0 x 0 0 0 0 0 0 0 0 c h a n n e l c a c t i v e e n e r g y a c c u m u l a t i o n . 0 x e 4 0 3 d w a t t h r r 3 2 3 2 s 0 x 0 0 0 0 0 0 0 0 c h a n n e l d a c t i v e e n e r g y a c c u m u l a t i o n . 0 x e 4 0 4 e w a t t h r r 3 2 3 2 s 0 x 0 0 0 0 0 0 0 0 c h a n n e l e a c t i v e e n e r g y a c c u m u l a t i o n . 0 x e 4 0 5 f w a t t h r r 3 2 3 2 s 0 x 0 0 0 0 0 0 0 0 c h a n n e l f a c t i v e e n e r g y a c c u m u l a t i o n . 0 x e 4 0 6 a v a r h r r 3 2 3 2 s 0 x 0 0 0 0 0 0 0 0 c h a n n e l a r e a c t i v e e n e r g y a c c u m u l a t i o n . 0 x e 4 0 7 b v a r h r r 3 2 3 2 s 0 x 0 0 0 0 0 0 0 0 c h a n n e l b r e a c t i v e e n e r g y a c c u m u l a t i o n . 0 x e 4 0 8 c v a r h r r 3 2 3 2 s 0 x 0 0 0 0 0 0 0 0 c h a n n e l c r e a c t i v e e n e r g y a c c u m u l a t i o n . 0 x e 4 0 9 d v a r h r r 3 2 3 2 s 0 x 0 0 0 0 0 0 0 0 c h a n n e l d r e a c t i v e e n e r g y a c c u m u l a t i o n . 0 x e 4 0 a e v a r h r r 3 2 3 2 s 0 x 0 0 0 0 0 0 0 0 c h a n n e l e r e a c t i v e e n e r g y a c c u m u l a t i o n . 0 x e 4 0 b f v a r h r r 3 2 3 2 s 0 x 0 0 0 0 0 0 0 0 c h a n n e l f r e a c t i v e e n e r g y a c c u m u l a t i o n . 1 r i s r e a d , a n d w i s w r i t e . 2 s i n d i c a t e s a s i g n e d r e g i s t e r i n t w o s c o m p l e m e n t f o r m a t . t a b l e 1 5 . c o n f i g u r a t i o n a n d p o w e r q u a l i t y r e g i s t e r s a d d r e s s r e g i s t e r n a m e r / w 1 b i t l e n g t h b i t l e n g t h d u r i n g c o m m u n i c a t i o n 2 t y p e 3 d e f a u l t v a l u e 4 d e s c r i p t i o n 0 x e 5 0 0 i p e a k r 3 2 3 2 u n / a c u r r e n t p e a k r e g i s t e r . 0 x e 5 0 1 v p e a k r 3 2 3 2 u n / a v o l t a g e p e a k r e g i s t e r . 0 x e 5 0 2 s t a t u s 0 r / w 3 2 3 2 u n / a i n t e r r u p t s t a t u s r e g i s t e r 0 . 0 x e 5 0 3 s t a t u s 1 r / w 3 2 3 2 u n / a i n t e r r u p t s t a t u s r e g i s t e r 1 . 0 x e 5 0 4 r e s e r v e d r 2 0 3 2 z p u n / a t h i s r e g i s t e r s h o u l d b e i g n o r e d . 0 x e 5 0 5 r e s e r v e d r 2 0 3 2 z p u n / a t h i s r e g i s t e r s h o u l d b e i g n o r e d . 0 x e 5 0 6 r e s e r v e d r 2 0 3 2 z p u n / a t h i s r e g i s t e r s h o u l d b e i g n o r e d . 0 x e 5 0 7 o i l v l r / w 2 4 3 2 z p u 0 x f f f f f f o v e r c u r r e n t t h r e s h o l d . 0 x e 5 0 8 o v l v l r / w 2 4 3 2 z p u 0 x f f f f f f o v e r v o l t a g e t h r e s h o l d . 0 x e 5 0 9 s a g l v l r / w 2 4 3 2 z p u 0 x 0 0 0 0 0 0 v o l t a g e s a g l e v e l t h r e s h o l d . 0 x e 5 0 a m a s k 0 r / w 3 2 3 2 u 0 x 0 0 0 0 0 0 0 0 i n t e r r u p t e n a b l e r e g i s t e r 0 . 0 x e 5 0 b m a s k 1 r / w 3 2 3 2 u 0 x 0 0 0 0 0 0 0 0 i n t e r r u p t e n a b l e r e g i s t e r 1 . 0 x e 5 0 c i a w v / i d w v r 2 4 3 2 s e s n / a i n s t a n t a n e o u s c u r r e n t c h a n n e l a a n d i n s t a n t a n e o u s c u r r e n t c h a n n e l d . 0 x e 5 0 d i b w v / i e w v r 2 4 3 2 s e s n / a i n s t a n t a n e o u s c u r r e n t c h a n n e l b a n d i n s t a n t a n e o u s c u r r e n t c h a n n e l e . 0 x e 5 0 e i c w v / i f w v r 2 4 3 2 s e s n / a i n s t a n t a n e o u s c u r r e n t c h a n n e l c a n d i n s t a n t a n e o u s c u r r e n t c h a n n e l f . 0 x e 5 0 f r e s e r v e d r 2 4 3 2 s e s n / a t h i s r e g i s t e r s h o u l d b e i g n o r e d . 0 x e 5 1 0 v w v r 2 4 3 2 s e s n / a i n s t a n t a n e o u s v o l t a g e . 0 x e 5 1 1 t o 0 x e 5 1 e r e s e r v e d r 2 4 3 2 s e s n / a t h i s r e g i s t e r s h o u l d b e i g n o r e d . 0 x e 5 1 f c h e c k s u m r 3 2 3 2 u 0 x 3 3 6 6 6 7 8 7 c h e c k s u m v e r i f i c a t i o n ( s e e t h e c h e c k s u m s e c t i o n f o r d e t a i l s ) . 0 x e 5 2 0 t o 0 x e 5 2 e r e s e r v e d t h e s e r e g i s t e r s s h o u l d b e i g n o r e d . 0 x e 6 0 0 c h s t a t u s r 1 6 1 6 u n / a c h a n n e l p e a k r e g i s t e r . 0 x e 6 0 1 a n g l e 0 r 1 6 1 6 u n / a t i m e d e l a y 0 ( s e e t h e a n g l e m e a s u r e m e n t s s e c t i o n f o r d e t a i l s ) . 0 x e 6 0 2 a n g l e 1 r 1 6 1 6 u n / a t i m e d e l a y 1 ( s e e t h e a n g l e m e a s u r e m e n t s s e c t i o n f o r d e t a i l s ) . 0 x e 6 0 3 a n g l e 2 r 1 6 1 6 u n / a t i m e d e l a y 2 ( s e e t h e a n g l e m e a s u r e m e n t s s e c t i o n f o r d e t a i l s ) . 0 x e 6 0 4 t o 0 x e 6 0 6 r e s e r v e d t h e s e r e g i s t e r s s h o u l d b e i g n o r e d .
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 4 0 o f 4 8 a d d r e s s r e g i s t e r n a m e r / w 1 b i t l e n g t h b i t l e n g t h d u r i n g c o m m u n i c a t i o n 2 t y p e 3 d e f a u l t v a l u e 4 d e s c r i p t i o n 0 x e 6 0 7 p e r i o d r 1 6 1 6 u n / a l i n e p e r i o d . 0 x e 6 0 8 c h n o l o a d r 1 6 1 6 u n / a c h a n n e l n o l o a d r e g i s t e r . 0 x e 6 0 9 t o 0 x e 6 0 b r e s e r v e d f o r p r o p e r o p e r a t i o n , d o n o t w r i t e t o t h e s e a d d r e s s e s . 0 x e 6 0 c l i n e c y c r / w 1 6 1 6 u 0 x f f f f l i n e c y c l e a c c u m u l a t i o n m o d e c o u n t . 0 x e 6 0 d z x t o u t r / w 1 6 1 6 u 0 x f f f f z e r o - c r o s s i n g t i m e o u t c o u n t . 0 x e 6 0 e c o m p m o d e r / w 1 6 1 6 u 0 x 0 1 f f c o m p u t a t i o n m o d e r e g i s t e r . 0 x e 6 0 f g a i n r / w 1 6 1 6 u 0 x 0 0 0 0 p g a g a i n s a t a d c i n p u t s ( s e e t a b l e 2 2 ) . 0 x e 6 1 0 t o 0 x e 6 1 6 r e s e r v e d t h i s r e g i s t e r s h o u l d b e i g n o r e d . 0 x e 6 1 7 c h s i g n r 1 6 1 6 u n / a p o w e r s i g n r e g i s t e r . 0 x e 6 1 8 c o n f i g r / w 1 6 1 6 u 0 x 0 0 0 0 c o n f i g u r a t i o n r e g i s t e r . 0 x e 7 0 0 m m o d e r / w 8 8 u 0 x 1 c m e a s u r e m e n t m o d e r e g i s t e r . 0 x e 7 0 1 a c c m o d e r / w 8 8 u 0 x 0 0 a c c u m u l a t i o n m o d e r e g i s t e r . 0 x e 7 0 2 l c y c m o d e r / w 8 8 u 0 x 7 8 l i n e a c c u m u l a t i o n m o d e . 0 x e 7 0 3 p e a k c y c r / w 8 8 u 0 x 0 0 p e a k d e t e c t i o n h a l f l i n e c y c l e s . 0 x e 7 0 4 s a g c y c r / w 8 8 u 0 x 0 0 s a g d e t e c t i o n h a l f l i n e c y c l e s . 0 x e 7 0 5 r e s e r v e d t h i s r e g i s t e r s h o u l d b e i g n o r e d . 0 x e 7 0 6 h s d c _ c f g r / w 8 8 u 0 x 0 0 h s d c c o n f i g u r a t i o n r e g i s t e r . 0 x e 7 0 7 v e r s i o n r / w 8 8 u v e r s i o n o f d i e . 0 x e 7 e 3 r e s e r v e d r / w 8 8 u 0 x 0 0 r e g i s t e r p r o t e c t i o n ( s e e t h e r e g i s t e r p r o t e c t i o n s e c t i o n ) . 0 x e 7 f e r e s e r v e d r e g i s t e r p r o t e c t i o n k e y ( s e e t h e r e g i s t e r p r o t e c t i o n s e c t i o n ) . 0 x e b f f r e s e r v e d 8 8 t h i s a d d r e s s c a n b e u s e d i n m a n i p u l a t i n g t h e s s / h s a p i n w h e n s p i i s c h o s e n a s t h e a c t i v e p o r t ( s e e t h e c o m m u n i c a t i o n s e c t i o n f o r d e t a i l s ) . 0 x e c 0 0 r e s e r v e d t h i s r e g i s t e r s h o u l d b e i g n o r e d . 0 x e c 0 1 c o n f i g 2 r / w 8 8 u 0 x 0 0 c o n f i g u r a t i o n r e g i s t e r ( s e e t a b l e 2 9 ) . 1 r i s r e a d , a n d w i s w r i t e . 2 3 2 z p i s a 2 4 - o r 2 0 - b i t , s i g n e d o r u n s i g n e d r e g i s t e r t h a t i s t r a n s m i t t e d a s a 3 2 - b i t w o r d w i t h 8 o r 1 2 m s b s , r e s p e c t i v e l y , p a d d e d w i t h 0 s . 3 2 s e i s a 2 4 - b i t , s i g n e d r e g i s t e r t h a t i s t r a n s m i t t e d a s a 3 2 - b i t w o r d t h a t i s s i g n e x t e n d e d t o 3 2 b i t s . 3 u i n d i c a t e s a n u n s i g n e d r e g i s t e r , a n d s i n d i c a t e s a s i g n e d r e g i s t e r i n t w o s c o m p l e m e n t f o r m a t . 4 n / a i s n o t a p p l i c a b l e . r e g i s t e r d e s c r i p t i o n s t a b l e 1 6 . h p f d i s r e g i s t e r ( a d d r e s s 0 x 4 3 8 9 ) b i t s d e f a u l t v a l u e d e s c r i p t i o n [ 2 3 : 0 ] 0 x 0 0 0 0 0 0 w h e n h p f d i s = 0 x 0 0 0 0 0 0 , a l l h i g h - p a s s f i l t e r s i n v o l t a g e a n d c u r r e n t c h a n n e l s a r e e n a b l e d . w h e n t h e r e g i s t e r i s s e t t o a n y n o n z e r o v a l u e , a l l h i g h - p a s s f i l t e r s a r e d i s a b l e d . t a b l e 1 7 . i p e a k r e g i s t e r ( a d d r e s s 0 x e 5 0 0 ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 3 1 : 2 7 ] r e s e r v e d 0 x 0 0 0 0 0 t h e s e b i t s s h o u l d b e i g n o r e d . 2 6 i p c h a n n e l 2 0 x 0 t h e c o r f c u r r e n t c h a n n e l g e n e r a t e d t h e i p e a k v a l [ 2 3 : 0 ] v a l u e . 2 5 i p c h a n n e l 1 0 x 0 t h e b o r e c u r r e n t c h a n n e l g e n e r a t e d t h e i p e a k v a l [ 2 3 : 0 ] v a l u e . 2 4 i p c h a n n e l 0 0 x 0 t h e a o r d c u r r e n t c h a n n e l g e n e r a t e d t h e i p e a k v a l [ 2 3 : 0 ] v a l u e . [ 2 3 : 0 ] i p e a k v a l [ 2 3 : 0 ] 0 x 0 c u r r e n t c h a n n e l p e a k v a l u e t a b l e 1 8 . v p e a k r e g i s t e r ( a d d r e s s 0 x e 5 0 1 ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 3 1 : 2 4 ] r e s e r v e d 0 x 0 0 0 0 0 t h e s e b i t s s h o u l d b e i g n o r e d . [ 2 3 : 0 ] v p e a k v a l [ 2 3 : 0 ] 0 x 0 v o l t a g e c h a n n e l p e a k v a l u e .
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 4 1 o f 4 8 n o t e t h a t a d d r e s s 0 x e 5 0 2 , a d d r e s s 0 x e 5 0 3 , a d d r e s s 0 x e 5 0 a , a n d a d d r e s s 0 x e 5 0 b a r e l i s t e d i n t a b l e 3 0 a n d t a b l e 3 1 . t a b l e 1 9 . c h s t a t u s r e g i s t e r ( a d d r e s s 0 x e 6 0 0 ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 1 5 : 6 ] r e s e r v e d 0 x 0 0 0 t h e s e b i t s s h o u l d b e i g n o r e d . 5 o i c h a n n e l 2 0 x 0 t h e c o r f c u r r e n t c h a n n e l g e n e r a t e d t h e o v e r c u r r e n t e v e n t . 4 o i c h a n n e l 1 0 x 0 t h e b o r e c u r r e n t c h a n n e l g e n e r a t e d t h e o v e r c u r r e n t e v e n t . 3 o i c h a n n e l 0 0 x 0 t h e a o r d c u r r e n t c h a n n e l g e n e r a t e d t h e o v e r c u r r e n t e v e n t . [ 2 : 0 ] r e s e r v e d 0 x 0 0 0 r e s e r v e d . t h e s e b i t s a r e a l w a y s 0 . t a b l e 2 0 . c h n o l o a d r e g i s t e r ( a d d r e s s 0 x e 6 0 8 ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 1 5 : 6 ] r e s e r v e d 0 x 0 0 0 0 0 0 0 t h e s e b i t s s h o u l d b e i g n o r e d . 5 n o l o a d f 0 x 0 0 : c h a n n e l f i s o u t o f t h e n o l o a d c o n d i t i o n . 1 : c h a n n e l f i s i n t h e n o l o a d c o n d i t i o n . 4 n o l o a d e 0 x 0 0 : c h a n n e l e i s o u t o f t h e n o l o a d c o n d i t i o n . 1 : c h a n n e l e i s i n t h e n o l o a d c o n d i t i o n . 3 n o l o a d d 0 x 0 0 : c h a n n e l d i s o u t o f t h e n o l o a d c o n d i t i o n . 1 : c h a n n e l d i s i n t h e n o l o a d c o n d i t i o n . 2 n o l o a d c 0 x 0 0 : c h a n n e l c i s o u t o f t h e n o l o a d c o n d i t i o n . 1 : c h a n n e l c i s i n t h e n o l o a d c o n d i t i o n . 1 n o l o a d b 0 x 0 0 : c h a n n e l b i s o u t o f t h e n o l o a d c o n d i t i o n . 1 : c h a n n e l b i s i n t h e n o l o a d c o n d i t i o n . 0 n o l o a d a 0 x 0 0 : c h a n n e l a i s o u t o f t h e n o l o a d c o n d i t i o n . 1 : c h a n n e l a i s i n t h e n o l o a d c o n d i t i o n . t a b l e 2 1 . c o m p m o d e r e g i s t e r ( a d d r e s s 0 x e 6 0 e ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n 1 5 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 1 4 c h a n n e l _ s e l 0 x 0 0 : t h e a , b , a n d c c u r r e n t c h a n n e l s a r e u s e d f o r t h e p e a k , o v e r c u r r e n t , z e r o c r o s s i n g , a n g l e , a n d w a v e f o r m m e a s u r e m e n t s . 1 : t h e d , e , a n d f c u r r e n t c h a n n e l s a r e u s e d f o r t h e p e a k , o v e r c u r r e n t , z e r o c r o s s i n g , a n g l e , a n d w a v e f o r m m e a s u r e m e n t s . [ 1 3 : 1 1 ] r e s e r v e d 0 x 0 t h e s e b i t s s h o u l d b e i g n o r e d . [ 1 0 : 9 ] a n g l e s e l 0 x 0 0 0 0 : t h e t i m e d e l a y s b e t w e e n t h e v o l t a g e a n d c u r r e n t s a r e m e a s u r e d . 0 1 : r e s e r v e d . 1 0 : t h e a n g l e s b e t w e e n c u r r e n t c h a n n e l s a r e m e a s u r e d . 1 1 : n o a n g l e s a r e m e a s u r e d . [ 8 : 0 ] r e s e r v e d 0 x 1 f f t h e s e b i t s s h o u l d b e i g n o r e d a n d n o t m o d i f i e d . t a b l e 2 2 . g a i n r e g i s t e r ( a d d r e s s 0 x e 6 0 f ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 1 5 : 9 ] r e s e r v e d 0 x 0 0 0 0 0 0 0 t h e s e b i t s s h o u l d b e i g n o r e d . [ 8 : 6 ] p g a 3 [ 2 : 0 ] 0 x 0 0 0 g a i n s e l e c t i o n f o r t h e d , e , a n d f c u r r e n t c h a n n e l s . 0 0 0 : g a i n = 1 . 0 0 1 : g a i n = 2 . 0 1 0 : g a i n = 4 . 0 1 1 : g a i n = 8 . 1 0 0 : g a i n = 1 6 . 1 0 1 , 1 1 0 , 1 1 1 : r e s e r v e d .
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 4 2 o f 4 8 b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 5 : 3 ] p g a 2 [ 2 : 0 ] 0 x 0 0 0 v o l t a g e c h a n n e l g a i n s e l e c t i o n . 0 0 0 : g a i n = 1 0 0 1 : g a i n = 2 . 0 1 0 : g a i n = 4 . 0 1 1 : g a i n = 8 . 1 0 0 : g a i n = 1 6 . 1 0 1 , 1 1 0 , 1 1 1 : r e s e r v e d . [ 2 : 0 ] p g a 1 [ 2 : 0 ] 0 x 0 0 0 g a i n s e l e c t i o n f o r t h e a , b , a n d c c u r r e n t c h a n n e l s . 0 0 0 : g a i n = 1 . 0 0 1 : g a i n = 2 . 0 1 0 : g a i n = 4 . 0 1 1 : g a i n = 8 . 1 0 0 : g a i n = 1 6 . 1 0 1 , 1 1 0 , 1 1 1 : r e s e r v e d . t a b l e 2 3 . c h s i g n r e g i s t e r ( a d d r e s s 0 x e 6 1 7 ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 1 5 : 7 ] r e s e r v e d 0 x 0 0 0 0 0 0 0 t h e s e b i t s s h o u l d b e i g n o r e d . 6 v a r 3 s i g n 0 x 0 0 : t h e r e a c t i v e p o w e r o n t h e c o r f c h a n n e l i s p o s i t i v e . 1 : t h e r e a c t i v e p o w e r o n t h e c o r f c h a n n e l i s n e g a t i v e . 5 v a r 2 s i g n 0 x 0 0 : t h e r e a c t i v e p o w e r o n t h e b o r e c h a n n e l i s p o s i t i v e . 1 : t h e r e a c t i v e p o w e r o n t h e b o r e c h a n n e l i s n e g a t i v e . 4 v a r 1 s i g n 0 x 0 0 : t h e r e a c t i v e p o w e r o n t h e a o r d c h a n n e l i s p o s i t i v e . 1 : t h e r e a c t i v e p o w e r o n t h e a o r d c h a n n e l i s n e g a t i v e . 3 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 2 w 3 s i g n 0 x 0 0 : t h e a c t i v e p o w e r o n t h e c o r f c h a n n e l i s p o s i t i v e . 1 : t h e a c t i v e p o w e r o n t h e c o r f c h a n n e l i s n e g a t i v e . 1 w 2 s i g n 0 x 0 0 : t h e a c t i v e p o w e r o n t h e b o r e c h a n n e l i s p o s i t i v e . 1 : t h e a c t i v e p o w e r o n t h e b o r e c h a n n e l i s n e g a t i v e . 0 w 1 s i g n 0 x 0 0 : t h e a c t i v e p o w e r o n t h e a o r d c h a n n e l i s p o s i t i v e . 1 : t h e a c t i v e p o w e r o n t h e a o r d c h a n n e l i s n e g a t i v e . t a b l e 2 4 . c o n f i g r e g i s t e r ( a d d r e s s 0 x e 6 1 8 ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 1 5 : 8 ] r e s e r v e d 0 x 0 t h e s e b i t s s h o u l d b e i g n o r e d . 7 s w r s t 0 x 0 i n i t i a t e s a s o f t w a r e r e s e t . 6 h s d c e n 0 x 0 e n a b l e s t h e h s d c s e r i a l p o r t . [ 5 : 1 ] r e s e r v e d 0 x 0 t h e s e b i t s s h o u l d b e i g n o r e d . 0 i n t e n 0 x 0 e n a b l e s t h e d i g i t a l i n t e g r a t o r . t a b l e 2 5 . m m o d e r e g i s t e r ( a d d r e s s 0 x e 7 0 0 ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d 0 x 0 0 0 t h e s e b i t s s h o u l d b e i g n o r e d . 4 p e a k s e l 2 0 x 1 t h e c o r f c u r r e n t c h a n n e l i s s e l e c t e d f o r p e a k d e t e c t i o n . 3 p e a k s e l 1 0 x 1 t h e b o r e c u r r e n t c h a n n e l i s s e l e c t e d f o r p e a k d e t e c t i o n . 2 p e a k s e l 0 0 x 1 t h e a o r d c u r r e n t c h a n n e l i s s e l e c t e d f o r p e a k d e t e c t i o n . [ 1 : 0 ] r e s e r v e d 0 x 0 0 t h e s e b i t s s h o u l d b e i g n o r e d .
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 4 3 o f 4 8 t a b l e 2 6 . a c c m o d e r e g i s t e r ( a d d r e s s 0 x e 7 0 1 ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n 7 r e v r p s e l 0 x 0 0 : t h e s i g n o f t h e r e a c t i v e p o w e r i s m o n i t o r e d o n t h e a , b , a n d c c h a n n e l s . 1 : t h e s i g n o f t h e r e a c t i v e p o w e r i s m o n i t o r e d o n t h e d , e , a n d f c h a n n e l s . b i t 1 4 ( c h a n n e l _ s e l ) o f c o m p m o d e m u s t b e s e t t o t h e s a m e c u r r e n t c h a n n e l s . 6 r e v a p s e l 0 x 0 0 : t h e s i g n o f t h e a c t i v e p o w e r i s m o n i t o r e d o n t h e a , b , a n d c c h a n n e l s . 1 : t h e s i g n o f t h e a c t i v e p o w e r i s m o n i t o r e d o n t h e d , e , a n d f c h a n n e l s . b i t 1 4 ( c h a n n e l _ s e l ) o f c o m p m o d e m u s t b e s e t t o t h e s a m e c u r r e n t c h a n n e l s . [ 5 : 4 ] r e s e r v e d 0 x 0 0 t h e s e b i t s s h o u l d b e i g n o r e d a n d n o t m o d i f i e d . [ 3 : 2 ] v a r a c c [ 1 : 0 ] 0 x 0 0 0 0 : s i g n e d a c c u m u l a t i o n f o r a l l r e a c t i v e p o w e r m e a s u r e m e n t s . 0 1 : r e s e r v e d . 1 0 : r e s e r v e d . 1 1 : r e s e r v e d . [ 1 : 0 ] w a t t a c c [ 1 : 0 ] 0 x 0 0 0 0 : s i g n e d a c c u m u l a t i o n f o r a l l a c t i v e p o w e r m e a s u r e m e n t s . 0 1 : r e s e r v e d . 1 0 : r e s e r v e d . 1 1 : r e s e r v e d . t a b l e 2 7 . l c y c m o d e r e g i s t e r ( a d d r e s s 0 x e 7 0 2 ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n 7 r e s e r v e d 0 x 0 r e s e r v e d . t h i s b i t d o e s n o t c o n t r o l a n y f u n c t i o n a l i t y . 6 r s t r e a d 0 x 1 e n a b l e s r e a d - w i t h - r e s e t f o r a l l e n e r g y r e g i s t e r s . n o t e t h a t t h i s b i t h a s n o f u n c t i o n i n l i n e c y c l e a c c u m u l a t i o n m o d e a n d s h o u l d b e s e t t o 0 w h e n t h i s m o d e i s i n u s e . [ 5 : 4 ] r e s e r v e d 0 x 0 t h e s e b i t s s h o u l d b e i g n o r e d . 3 z x _ s e l 0 x 0 e n a b l e s t h e v o l t a g e c h a n n e l z e r o - c r o s s i n g c o u n t e r f o r l i n e c y c l e a c c u m u l a t i o n m o d e . 2 r e s e r v e d 0 x 0 t h e s e b i t s s h o u l d b e i g n o r e d . 1 l v a r 0 x 0 e n a b l e s t h e r e a c t i v e e n e r g y l i n e c y c l e a c c u m u l a t i o n m o d e . 0 l w a t t 0 x 0 e n a b l e s t h e a c t i v e e n e r g y l i n e c y c l e a c c u m u l a t i o n m o d e . t a b l e 2 8 . h s d c _ c f g r e g i s t e r ( a d d r e s s 0 x e 7 0 6 ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 7 : 6 ] r e s e r v e d 0 x 0 0 t h e s e b i t s s h o u l d b e i g n o r e d . 5 h s a p o l 0 x 0 0 : s s / h s a o u t p u t p i n i s a c t i v e l o w ( d e f a u l t ) . 1 : s s / h s a o u t p u t p i n i s a c t i v e h i g h . [ 4 : 3 ] h x f e r [ 1 : 0 ] 0 x 0 0 0 0 = r e s e r v e d . 0 1 = h s d c t r a n s m i t s c u r r e n t a n d v o l t a g e w a v e f o r m d a t a . 1 0 = r e s e r v e d . 1 1 = r e s e r v e d . 2 h g a p 0 x 0 0 : n o g a p i s i n t r o d u c e d b e t w e e n p a c k a g e s ( d e f a u l t ) . 1 : a g a p o f s e v e n h c l k c y c l e s i s i n t r o d u c e d b e t w e e n p a c k a g e s . 1 h s i z e 0 x 0 0 : h s d c t r a n s m i t s t h e 3 2 - b i t r e g i s t e r s i n 3 2 - b i t p a c k a g e s , m o s t s i g n i f i c a n t b i t f i r s t ( d e f a u l t ) . 1 : h s d c t r a n s m i t s t h e 3 2 - b i t r e g i s t e r s i n 8 - b i t p a c k a g e s , m o s t s i g n i f i c a n t b i t f i r s t . 0 h c l k 0 x 0 0 : h s c l k = 8 m h z ( d e f a u l t ) . 1 : h s c l k = 4 m h z . t a b l e 2 9 . c o n f i g 2 r e g i s t e r ( a d d r e s s 0 x e c 0 1 ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 7 : 2 ] r e s e r v e d 0 x 0 t h e s e b i t s s h o u l d b e i g n o r e d . 1 i 2 c _ l o c k 0 x 0 s e r i a l p o r t l o c k . 0 e x t r e f e n 0 x 0 s e t t o 1 t o u s e w i t h a n e x t e r n a l r e f e r e n c e .
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 4 4 o f 4 8 i n t e r r u p t e n a b l e a n d i n t e r r u p t s t a t u s r e g i s t e r s t a b l e 3 0 . s t a t u s 0 r e g i s t e r ( a d d r e s s 0 x e 5 0 2 ) a n d m a s k 0 r e g i s t e r ( a d d r e s s 0 x e 5 0 a ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 3 1 : 1 8 ] r e s e r v e d 0 0 0 0 0 0 0 0 0 0 0 0 0 t h e s e b i t s s h o u l d b e i g n o r e d . 1 7 d r e a d y 0 x 0 n e w w a v e f o r m d a t a i s r e a d y . 1 6 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 1 5 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 1 4 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 1 3 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 1 2 r e v r p 3 0 x 0 t h e s i g n o f t h e r e a c t i v e p o w e r h a s c h a n g e d ( c o r f c h a n n e l ) . 1 1 r e v r p 2 0 x 0 t h e s i g n o f t h e r e a c t i v e p o w e r h a s c h a n g e d ( b o r e c h a n n e l ) . 1 0 r e v r p 1 0 x 0 t h e s i g n o f t h e r e a c t i v e p o w e r h a s c h a n g e d ( a o r d c h a n n e l ) . 9 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 8 r e v a p 3 0 x 0 t h e s i g n o f t h e a c t i v e p o w e r h a s c h a n g e d ( c o r f c h a n n e l ) . 7 r e v a p 2 0 x 0 t h e s i g n o f t h e a c t i v e p o w e r h a s c h a n g e d ( b o r e c h a n n e l ) . 6 r e v a p 1 0 x 0 t h e s i g n o f t h e a c t i v e p o w e r h a s c h a n g e d ( a o r d c h a n n e l ) . 5 l e n e r g y 0 x 0 t h e e n d o f a l i n e c y c l e a c c u m u l a t i o n p e r i o d . 4 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 3 r e h f 2 0 x 0 t h e a c t i v e e n e r g y r e g i s t e r i s h a l f f u l l ( d , e , o r f c h a n n e l ) . 2 r e h f 1 0 x 0 t h e r e a c t i v e e n e r g y r e g i s t e r i s h a l f f u l l ( a , b , o r c c h a n n e l ) . 1 a e h f 2 0 x 0 t h e a c t i v e e n e r g y r e g i s t e r i s h a l f f u l l ( d , e , o r f c h a n n e l ) 0 a e h f 1 0 x 0 t h e a c t i v e e n e r g y r e g i s t e r i s h a l f f u l l ( a , b , o r c c h a n n e l ) . t a b l e 3 1 . s t a t u s 1 r e g i s t e r ( a d d r e s s 0 x e 5 0 3 ) a n d m a s k 1 r e g i s t e r ( a d d r e s s 0 x e 5 0 b ) b i t s b i t n a m e d e f a u l t v a l u e d e s c r i p t i o n [ 3 1 : 2 5 ] r e s e r v e d 0 x 0 0 0 0 0 0 0 t h e s e b i t s s h o u l d b e i g n o r e d . 2 4 p k v 0 x 0 t h e e n d o f t h e v o l t a g e c h a n n e l p e a k d e t e c t i o n p e r i o d . 2 3 p k i 0 x 0 t h e e n d o f t h e c u r r e n t c h a n n e l p e a k d e t e c t i o n p e r i o d . 2 2 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 2 1 r e s e r v e d 0 x 1 t h i s b i t s h o u l d b e i g n o r e d . 2 0 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 1 9 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 1 8 o v 0 x 0 a n o v e r v o l t a g e e v e n t h a s o c c u r r e d . 1 7 o i 0 x 0 a n o v e r c u r r e n t e v e n t h a s o c c u r r e d . 1 6 s a g 0 x 0 a s a g e v e n t h a s o c c u r r e d . 1 5 r s t d o n e 0 x 1 t h e e n d o f a s o f t w a r e o r h a r d w a r e r e s e t . 1 4 z x i 3 0 x 0 c o r f c u r r e n t c h a n n e l z e r o c r o s s i n g . 1 3 z x i 2 0 x 0 b o r e c u r r e n t c h a n n e l z e r o c r o s s i n g . 1 2 z x i 1 0 x 0 a o r d c u r r e n t c h a n n e l z e r o c r o s s i n g . 1 1 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 1 0 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 9 z x v 0 x 0 v o l t a g e c h a n n e l z e r o c r o s s i n g . 8 z x t o i 3 0 x 0 a z e r o c r o s s i n g o n t h e c o r f c u r r e n t c h a n n e l i s m i s s i n g . 7 z x t o i 2 0 x 0 a z e r o c r o s s i n g o n t h e b o r e c u r r e n t c h a n n e l i s m i s s i n g . 6 z x t o i 1 0 x 0 a z e r o c r o s s i n g o n t h e a o r d c u r r e n t c h a n n e l i s m i s s i n g . 5 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 4 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 3 z x t o v 0 x 0 a z e r o c r o s s i n g o n t h e v o l t a g e c h a n n e l i s m i s s i n g . 2 r e s e r v e d 0 x 0 t h i s b i t s h o u l d b e i g n o r e d . 1 n l o a d 2 0 x 0 a c t i v e a n d r e a c t i v e n o l o a d c o n d i t i o n o n t h e d , e , o r f c u r r e n t c h a n n e l . 0 n l o a d 1 0 x 0 a c t i v e a n d r e a c t i v e n o l o a d c o n d i t i o n o n t h e a , b , o r c c u r r e n t c h a n n e l .
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 4 5 o f 4 8 o u t l i n e d i m e n s i o n s 0 5 - 0 6 - 2 0 1 1 - a 0 . 5 0 b s c b o t t o m v i e w t o p v i e w p i n 1 i n d i c a t o r e x p o s e d p a d p i n 1 i n d i c a t o r s e a t i n g p l a n e 0 . 0 5 m a x 0 . 0 2 n o m 0 . 2 0 r e f c o p l a n a r i t y 0 . 0 8 0 . 3 0 0 . 2 3 0 . 1 8 6 . 1 0 6 . 0 0 s q 5 . 9 0 0 . 8 0 0 . 7 5 0 . 7 0 f o r p r o p e r c o n n e c t i o n o f t h e e x p o s e d p a d , r e f e r t o t h e p i n c o n f i g u r a t i o n a n d f u n c t i o n d e s c r i p t i o n s s e c t i o n o f t h i s d a t a s h e e t . 0 . 4 5 0 . 4 0 0 . 3 5 0 . 2 5 m i n 4 . 4 5 4 . 3 0 s q 4 . 2 5 c o m p l i a n t t o j e d e c s t a n d a r d s m o - 2 2 0 - w j j d . 4 0 1 1 1 2 0 2 1 3 0 3 1 1 0 p k g - 0 0 3 4 3 8 f i g u r e 4 8 . 4 0 - l e a d l e a d f r a m e c h i p s c a l e p a c k a g e [ l f c s p _ w q ] 6 m m 6 m m b o d y , v e r y v e r y t h i n q u a d ( c p - 4 0 - 1 0 ) d i m e n s i o n s s h o w n i n m i l l i m e t e r s o r d e r i n g g u i d e m o d e l 1 t e m p e r a t u r e r a n g e p a c k a g e d e s c r i p t i o n p a c k a g e o p t i o n a d e 7 8 1 6 a c p z ? 4 0 c t o + 8 5 c 4 0 - l e a d l f c s p _ w q c p - 4 0 - 1 0 a d e 7 8 1 6 a c p z - r l ? 4 0 c t o + 8 5 c 4 0 - l e a d l f c s p _ w q c p - 4 0 - 1 0 e v a l - a d e 7 8 1 6 e b z e v a l u a t i o n b o a r d 1 z = r o h s c o m p l i a n t p a r t .
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 4 6 o f 4 8 n o t e s
d a t a s h e e t a d e 7 8 1 6 r e v . a | p a g e 4 7 o f 4 8 n o t e s
a d e 7 8 1 6 d a t a s h e e t r e v . a | p a g e 4 8 o f 4 8 n o t e s i 2 c r e f e r s t o a c o m m u n i c a t i o n s p r o t o c o l o r i g i n a l l y d e v e l o p e d b y p h i l i p s s e m i c o n d u c t o r s ( n o w n x p s e m i c o n d u c t o r s ) . ? 2 0 1 2 ? 2 0 1 3 a n a l o g d e v i c e s , i n c . a l l r i g h t s r e s e r v e d . t r a d e m a r k s a n d r e g i s t e r e d t r a d e m a r k s a r e t h e p r o p e r t y o f t h e i r r e s p e c t i v e o w n e r s . d 1 0 3 9 0 - 0 - 1 2 / 1  ( a )


▲Up To Search▲   

 
Price & Availability of ADE7816

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X